diff --git a/core/src/main/java/nl/matsv/viabackwards/protocol/protocol1_12_2to1_13/packets/PlayerPacket1_13.java b/core/src/main/java/nl/matsv/viabackwards/protocol/protocol1_12_2to1_13/packets/PlayerPacket1_13.java index 2df41895..a35688b5 100644 --- a/core/src/main/java/nl/matsv/viabackwards/protocol/protocol1_12_2to1_13/packets/PlayerPacket1_13.java +++ b/core/src/main/java/nl/matsv/viabackwards/protocol/protocol1_12_2to1_13/packets/PlayerPacket1_13.java @@ -112,11 +112,11 @@ public class PlayerPacket1_13 extends Rewriter { if (packetWrapper.passthrough(Type.BOOLEAN)) { packetWrapper.passthrough(Type.STRING); } - packetWrapper.passthrough(Type.VAR_INT); - packetWrapper.passthrough(Type.VAR_INT); - if (packetWrapper.passthrough(Type.BOOLEAN)) { - packetWrapper.passthrough(Type.STRING); - } + } + packetWrapper.passthrough(Type.VAR_INT); + packetWrapper.passthrough(Type.VAR_INT); + if (packetWrapper.passthrough(Type.BOOLEAN)) { + packetWrapper.passthrough(Type.STRING); } } else if (action == 1) { // Update Game Mode packetWrapper.passthrough(Type.VAR_INT);