From 4ed1732dee09c8cc51df4583a604b7588555c01f Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Mon, 15 Apr 2019 17:44:23 +1200 Subject: [PATCH] SerializerChatComponent now registered to WrappedChatComponent, not FlagWatcher --- .../me/libraryaddict/disguise/utilities/DisguiseUtilities.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java b/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java index 91146c41..0e0ef189 100644 --- a/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java +++ b/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java @@ -880,7 +880,7 @@ public class DisguiseUtilities { gsonBuilder.registerTypeAdapter(WrappedBlockData.class, new SerializerWrappedBlockData()); gsonBuilder.registerTypeAdapter(Disguise.class, new SerializerDisguise()); gsonBuilder.registerTypeAdapter(FlagWatcher.class, new SerializerFlagWatcher()); - gsonBuilder.registerTypeAdapter(FlagWatcher.class, new SerializerChatComponent()); + gsonBuilder.registerTypeAdapter(WrappedChatComponent.class, new SerializerChatComponent()); gsonBuilder.registerTypeAdapter(PropertyMap.class, new PropertyMap.Serializer()); gsonBuilder.registerTypeAdapter(ItemStack.class, new SerializerItemStack());