From 0018159c896c8bd8c75932fcece11061bd1a5ee0 Mon Sep 17 00:00:00 2001 From: Gerrygames Date: Mon, 21 Jan 2019 21:12:48 +0100 Subject: [PATCH] fix tab complete --- .../protocol1_12_2to1_13/packets/PlayerPacket1_13.java | 5 +++-- 1 file changed, 3 insertions(+), 2 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 679a48ee..ea62045a 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 @@ -184,8 +184,9 @@ public class PlayerPacket1_13 extends Rewriter { // Ignore fields wrapper.read(Type.BOOLEAN); - wrapper.read(Type.OPTIONAL_POSITION); - + if (wrapper.read(Type.BOOLEAN)) { + wrapper.read(Type.POSITION); + } } }); }