Fix small teampacket bug

This commit is contained in:
Mats 2016-03-23 11:34:13 +01:00
parent b4b85b1602
commit eee1fd941e

View File

@ -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();