From eee1fd941e129d085d42a06578cb25b4a15a74a5 Mon Sep 17 00:00:00 2001 From: Mats Date: Wed, 23 Mar 2016 11:34:13 +0100 Subject: [PATCH] Fix small teampacket bug --- .../protocols/protocol1_9to1_8/packets/PlayerPackets.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/us/myles/ViaVersion/protocols/protocol1_9to1_8/packets/PlayerPackets.java b/src/main/java/us/myles/ViaVersion/protocols/protocol1_9to1_8/packets/PlayerPackets.java index 9a82c0691..bee3036f8 100644 --- a/src/main/java/us/myles/ViaVersion/protocols/protocol1_9to1_8/packets/PlayerPackets.java +++ b/src/main/java/us/myles/ViaVersion/protocols/protocol1_9to1_8/packets/PlayerPackets.java @@ -110,7 +110,7 @@ public class PlayerPackets { wrapper.passthrough(Type.BYTE); } - if (mode == 0 || mode == 2) { + if (mode == 0 || mode == 3 || mode == 4) { String[] players = wrapper.read(Type.STRING_ARRAY); final EntityTracker entityTracker = wrapper.user().get(EntityTracker.class); String myName = wrapper.user().get(ProtocolInfo.class).getUsername();