fix tab complete

This commit is contained in:
Gerrygames 2019-01-22 13:58:06 +01:00
parent 905cd9cf0d
commit 4f9334c1dd

View File

@ -157,7 +157,7 @@ public class PlayerPacket1_13 extends Rewriter<Protocol1_12_2To1_13> {
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);
}
}
});