From 169650f17c3461edf2c8c7dbd2e84d0e0a3a9349 Mon Sep 17 00:00:00 2001 From: Nassim Jahnke Date: Sun, 24 Oct 2021 16:44:22 +0200 Subject: [PATCH] Remove unnecessary type reading --- .../protocol1_13_2to1_14/packets/PlayerPackets1_14.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_13_2to1_14/packets/PlayerPackets1_14.java b/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_13_2to1_14/packets/PlayerPackets1_14.java index 8ed3221c..fe228147 100644 --- a/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_13_2to1_14/packets/PlayerPackets1_14.java +++ b/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_13_2to1_14/packets/PlayerPackets1_14.java @@ -59,9 +59,8 @@ public class PlayerPackets1_14 extends RewriterBase { protocol.registerServerbound(ServerboundPackets1_13.PLAYER_DIGGING, new PacketRemapper() { @Override public void registerMap() { - map(Type.VAR_INT); - map(Type.POSITION, Type.POSITION1_14); - map(Type.BYTE); + map(Type.VAR_INT); // Action + map(Type.POSITION, Type.POSITION1_14); // Position } });