From 00dedaa1ffd521f42e5048dd1ef2fddd7882a768 Mon Sep 17 00:00:00 2001 From: creeper123123321 Date: Sun, 18 Feb 2018 05:53:57 -0300 Subject: [PATCH] 18w07c - Fix some inventory issues + mappings, thanks Gerrygames --- .../protocolsnapshotto1_12_2/packets/WorldPackets.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/us/myles/ViaVersion/protocols/protocolsnapshotto1_12_2/packets/WorldPackets.java b/common/src/main/java/us/myles/ViaVersion/protocols/protocolsnapshotto1_12_2/packets/WorldPackets.java index 8ce07ff0e..a0d40342e 100644 --- a/common/src/main/java/us/myles/ViaVersion/protocols/protocolsnapshotto1_12_2/packets/WorldPackets.java +++ b/common/src/main/java/us/myles/ViaVersion/protocols/protocolsnapshotto1_12_2/packets/WorldPackets.java @@ -139,6 +139,7 @@ public class WorldPackets { Chunk1_9_3_4Type type = new Chunk1_9_3_4Type(clientWorld); Chunk1_13Type type1_13 = new Chunk1_13Type(clientWorld); Chunk chunk = wrapper.read(type); + wrapper.write(type1_13,chunk); for (int i = 0; i < chunk.getSections().length; i++) { ChunkSection section = chunk.getSections()[i]; @@ -183,7 +184,6 @@ public class WorldPackets { chunk.getSections()[y >> 4].setFlatBlock(x, y, z, newId); } } - wrapper.write(type1_13,chunk); } }); }