From 8532d388f89cd103ca1c86dff192f5242c6c27c3 Mon Sep 17 00:00:00 2001 From: Gerrygames Date: Mon, 22 Oct 2018 14:33:38 +0200 Subject: [PATCH] fix #1052 --- .../protocols/protocol1_9to1_8/storage/EntityTracker.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_9to1_8/storage/EntityTracker.java b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_9to1_8/storage/EntityTracker.java index bafffa178..64906f7b7 100644 --- a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_9to1_8/storage/EntityTracker.java +++ b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_9to1_8/storage/EntityTracker.java @@ -258,8 +258,7 @@ public class EntityTracker extends StoredObject { } else { wrapper.write(Type.BYTE, (byte) 3); } - wrapper.write(Type.VAR_INT, 1); // player count - wrapper.write(Type.STRING, getUser().get(ProtocolInfo.class).getUsername()); + wrapper.write(Type.STRING_ARRAY, new String[] {getUser().get(ProtocolInfo.class).getUsername()}); } else { wrapper.write(Type.BYTE, (byte) 1); // remove team }