From da67500eaab537285055d25bff1d714b5a56a887 Mon Sep 17 00:00:00 2001 From: Marco Neuhaus Date: Wed, 1 May 2019 14:46:06 +0200 Subject: [PATCH] fix play record rewrites --- .../protocol1_13to1_13_1/packets/WorldPackets1_13_1.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/nl/matsv/viabackwards/protocol/protocol1_13to1_13_1/packets/WorldPackets1_13_1.java b/core/src/main/java/nl/matsv/viabackwards/protocol/protocol1_13to1_13_1/packets/WorldPackets1_13_1.java index 2d3dc3fa..ae8f0592 100644 --- a/core/src/main/java/nl/matsv/viabackwards/protocol/protocol1_13to1_13_1/packets/WorldPackets1_13_1.java +++ b/core/src/main/java/nl/matsv/viabackwards/protocol/protocol1_13to1_13_1/packets/WorldPackets1_13_1.java @@ -109,7 +109,7 @@ public class WorldPackets1_13_1 { int id = wrapper.get(Type.INT, 0); int data = wrapper.get(Type.INT, 1); if (id == 1010) { // Play record - wrapper.set(Type.INT, 1, data = InventoryPackets1_13_1.getNewItemId(data)); + wrapper.set(Type.INT, 1, data = InventoryPackets1_13_1.getOldItemId(data)); } else if (id == 2001) { // Block break + block break sound wrapper.set(Type.INT, 1, data = Protocol1_13To1_13_1.getNewBlockStateId(data)); }