From 66336bca0f6d9f56a4d1dd88358484fa22a883aa Mon Sep 17 00:00:00 2001 From: creeper123123321 Date: Fri, 15 Feb 2019 18:30:48 -0200 Subject: [PATCH] ooops --- .../protocol1_12_2to1_13/packets/PlayerPacket1_13.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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);