3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-12-26 16:12:42 +01:00

Fix small teampacket bug

Dieser Commit ist enthalten in:
Mats 2016-03-23 11:34:13 +01:00
Ursprung b4b85b1602
Commit eee1fd941e

Datei anzeigen

@ -110,7 +110,7 @@ public class PlayerPackets {
wrapper.passthrough(Type.BYTE); wrapper.passthrough(Type.BYTE);
} }
if (mode == 0 || mode == 2) { if (mode == 0 || mode == 3 || mode == 4) {
String[] players = wrapper.read(Type.STRING_ARRAY); String[] players = wrapper.read(Type.STRING_ARRAY);
final EntityTracker entityTracker = wrapper.user().get(EntityTracker.class); final EntityTracker entityTracker = wrapper.user().get(EntityTracker.class);
String myName = wrapper.user().get(ProtocolInfo.class).getUsername(); String myName = wrapper.user().get(ProtocolInfo.class).getUsername();