SteamWar/FightSystem
Archiviert
13
1

Merge branch 'techhider1.14+compatibility' of SteamWar/FightSystem into master

Dieser Commit ist enthalten in:
Lixfel 2020-01-01 19:51:16 +01:00 committet von Gitea
Commit ebefab135a

Datei anzeigen

@ -57,7 +57,7 @@ public class TechHider_14 {
ITechHider.packetCache.put(packet, cached); ITechHider.packetCache.put(packet, cached);
e.setPacket(cached); e.setPacket(cached);
StructureModifier<List<NbtBase<?>>> list = cached.getListNbtModifier(); StructureModifier<List<NbtBase<?>>> list = cached.getListNbtModifier();
List<NbtBase<?>> nmsTags = list.read(1); List<NbtBase<?>> nmsTags = list.read(0);
boolean changed = false; boolean changed = false;
for(int i = nmsTags.size() - 1; i >= 0; i--){ for(int i = nmsTags.size() - 1; i >= 0; i--){
NbtCompound nbt = NbtFactory.fromNMSCompound(nmsTags.get(i)); NbtCompound nbt = NbtFactory.fromNMSCompound(nmsTags.get(i));