From 8a0141c70923ee0a36d6e25e70be48ec17bf6cdc Mon Sep 17 00:00:00 2001 From: Lixfel Date: Wed, 1 Jan 2020 19:39:41 +0100 Subject: [PATCH] Fixing NBTTagList Signed-off-by: Lixfel --- .../src/de/steamwar/fightsystem/utils/TechHider_14.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FightSystem_14/src/de/steamwar/fightsystem/utils/TechHider_14.java b/FightSystem_14/src/de/steamwar/fightsystem/utils/TechHider_14.java index 10a6113..dd98793 100644 --- a/FightSystem_14/src/de/steamwar/fightsystem/utils/TechHider_14.java +++ b/FightSystem_14/src/de/steamwar/fightsystem/utils/TechHider_14.java @@ -57,7 +57,7 @@ public class TechHider_14 { ITechHider.packetCache.put(packet, cached); e.setPacket(cached); StructureModifier>> list = cached.getListNbtModifier(); - List> nmsTags = list.read(1); + List> nmsTags = list.read(0); boolean changed = false; for(int i = nmsTags.size() - 1; i >= 0; i--){ NbtCompound nbt = NbtFactory.fromNMSCompound(nmsTags.get(i)); -- 2.39.5