summaryrefslogtreecommitdiffstats
path: root/nms-patches/ChatModifier.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/ChatModifier.patch')
-rw-r--r--nms-patches/ChatModifier.patch5
1 files changed, 3 insertions, 2 deletions
diff --git a/nms-patches/ChatModifier.patch b/nms-patches/ChatModifier.patch
index f84aedb4..bd72bcff 100644
--- a/nms-patches/ChatModifier.patch
+++ b/nms-patches/ChatModifier.patch
@@ -28,15 +28,16 @@
return i;
}
-@@ -440,11 +442,11 @@
- }
+@@ -441,12 +443,12 @@
}
+ @Nullable
- public JsonElement serialize(Object object, Type type, JsonSerializationContext jsonserializationcontext) {
+ public JsonElement serialize(ChatModifier object, Type type, JsonSerializationContext jsonserializationcontext) { // CraftBukkit - fix decompile error
return this.a((ChatModifier) object, type, jsonserializationcontext);
}
+ @Nullable
- public Object deserialize(JsonElement jsonelement, Type type, JsonDeserializationContext jsondeserializationcontext) throws JsonParseException {
+ public ChatModifier deserialize(JsonElement jsonelement, Type type, JsonDeserializationContext jsondeserializationcontext) throws JsonParseException { // CraftBukkit - fix decompile error
return this.a(jsonelement, type, jsondeserializationcontext);