mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-23 15:20:52 +01:00
Merge branch 'patch-35' into 'dev'
@Override added See merge request morningstar/Arcturus-Community!236
This commit is contained in:
commit
ffb7ca9ae7
@ -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