mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-23 15:20:52 +01:00
@Override added
This commit is contained in:
parent
a0c1973622
commit
8a753895ea
@ -32,6 +32,7 @@ public abstract class RCONMessage<T> {
|
||||
public abstract void handle(Gson gson, T json);
|
||||
|
||||
public static class RCONMessageSerializer implements JsonSerializer<RCONMessage> {
|
||||
@Override
|
||||
public JsonElement serialize(final RCONMessage rconMessage, final Type type, final JsonSerializationContext context) {
|
||||
JsonObject result = new JsonObject();
|
||||
result.add("status", new JsonPrimitive(rconMessage.status));
|
||||
|
Loading…
Reference in New Issue
Block a user