From 14a86160d67f9ded993698ec16c0edd5d6a18d21 Mon Sep 17 00:00:00 2001 From: creeper123123321 Date: Sat, 24 Feb 2018 07:02:56 -0300 Subject: [PATCH] 18w08b trying to not crash --- .../ProtocolSnapshotTo1_12_2.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/common/src/main/java/us/myles/ViaVersion/protocols/protocolsnapshotto1_12_2/ProtocolSnapshotTo1_12_2.java b/common/src/main/java/us/myles/ViaVersion/protocols/protocolsnapshotto1_12_2/ProtocolSnapshotTo1_12_2.java index 2c120bd47..56c81b1f8 100644 --- a/common/src/main/java/us/myles/ViaVersion/protocols/protocolsnapshotto1_12_2/ProtocolSnapshotTo1_12_2.java +++ b/common/src/main/java/us/myles/ViaVersion/protocols/protocolsnapshotto1_12_2/ProtocolSnapshotTo1_12_2.java @@ -151,6 +151,15 @@ public class ProtocolSnapshotTo1_12_2 extends Protocol { wrapper.write(Type.VAR_INT, 0); // Root node index } }).send(ProtocolSnapshotTo1_12_2.class); + PacketWrapper tagsPacket = wrapper.create(0x54, new ValueCreator() { + @Override + public void write(PacketWrapper wrapper) throws Exception { + wrapper.write(Type.VAR_INT, 0); + wrapper.write(Type.VAR_INT, 0); + } + }); + tagsPacket.send(ProtocolSnapshotTo1_12_2.class); + tagsPacket.send(ProtocolSnapshotTo1_12_2.class); } }); }