From 4f9334c1ddd6d6abb4aea20ae141453f127cf534 Mon Sep 17 00:00:00 2001 From: Gerrygames Date: Tue, 22 Jan 2019 13:58:06 +0100 Subject: [PATCH] fix tab complete --- .../protocol/protocol1_12_2to1_13/packets/PlayerPacket1_13.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ea62045a..8de399a4 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 @@ -157,7 +157,7 @@ public class PlayerPacket1_13 extends Rewriter { String match = wrapper.read(Type.STRING); wrapper.write(Type.STRING, (start == 0 ? "/" : "") + match); // Ignore tooltip - wrapper.read(Type.OPTIONAL_CHAT); + if (wrapper.read(Type.BOOLEAN)) wrapper.read(Type.STRING); } } });