From f1e1b37b59da0f213e5657b85749c37586a9ee01 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Fri, 3 Mar 2023 17:43:48 +0100 Subject: [PATCH] Fix REntity Metadata --- 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 f4a03b0..d8225ae 100644 --- a/SpigotCore_19/src/de/steamwar/core/ChatWrapper19.java +++ b/SpigotCore_19/src/de/steamwar/core/ChatWrapper19.java @@ -37,7 +37,7 @@ public class ChatWrapper19 implements ChatWrapper { public Object getDataWatcherPacket(int entityId, Object... dataWatcherKeyValues) { ArrayList> nativeWatchers = new ArrayList<>(1); for(int i = 0; i < dataWatcherKeyValues.length; i+=2) { - nativeWatchers.add((DataWatcher.b) BountifulWrapper.impl.getDataWatcherItem(dataWatcherKeyValues[i], dataWatcherKeyValues[i+1])); + nativeWatchers.add(((DataWatcher.Item) BountifulWrapper.impl.getDataWatcherItem(dataWatcherKeyValues[i], dataWatcherKeyValues[i+1])).e()); } return new PacketPlayOutEntityMetadata(entityId, nativeWatchers);