From c2cc19450dd9f76364621bd70185dd85940c9113 Mon Sep 17 00:00:00 2001 From: zOnlyKroks Date: Sat, 6 Aug 2022 21:34:08 +0200 Subject: [PATCH] use class type --- SpigotCore_19/src/de/steamwar/core/ChatWrapper19.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SpigotCore_19/src/de/steamwar/core/ChatWrapper19.java b/SpigotCore_19/src/de/steamwar/core/ChatWrapper19.java index 38393ba..c4ca415 100644 --- a/SpigotCore_19/src/de/steamwar/core/ChatWrapper19.java +++ b/SpigotCore_19/src/de/steamwar/core/ChatWrapper19.java @@ -27,7 +27,7 @@ import net.minecraft.network.protocol.game.ClientboundServerDataPacket; public class ChatWrapper19 implements ChatWrapper { - private static final Reflection.FieldAccessor accessor = Reflection.getField(ClientboundServerDataPacket.class, "c",Boolean.class); + private static final Reflection.FieldAccessor accessor = Reflection.getField(ClientboundServerDataPacket.class, Boolean.class,0); @Override public Object stringToChatComponent(String text) {