From a403c7424c1411018c6577dc43a39526edd2bc4d Mon Sep 17 00:00:00 2001 From: creeper123123321 Date: Tue, 24 Jul 2018 10:55:08 -0300 Subject: [PATCH] *facepalm* --- .../protocols/protocol1_13to1_12_2/Protocol1_13To1_12_2.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_13to1_12_2/Protocol1_13To1_12_2.java b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_13to1_12_2/Protocol1_13To1_12_2.java index f291f8756..448d277d9 100644 --- a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_13to1_12_2/Protocol1_13To1_12_2.java +++ b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_13to1_12_2/Protocol1_13To1_12_2.java @@ -226,7 +226,7 @@ public class Protocol1_13To1_12_2 extends Protocol { if (id == 1010) { // Play record wrapper.set(Type.INT, 1, data = MappingData.oldToNewItems.get(data << 4)); } else if (id == 2001) { // Block break + block break sound - int blockId = 12 & 0xFFF; + int blockId = data & 0xFFF; int blockData = data >> 12; wrapper.set(Type.INT, 1, data = WorldPackets.toNewId(blockId << 4 | blockData)); }