mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-09-24 20:42:41 +02:00
Fix team remove
This commit is contained in:
parent
44be8b3791
commit
8283816418
@ -129,7 +129,7 @@ public class PlayerPackets {
|
||||
}
|
||||
|
||||
if (mode == 0 || mode == 3 || mode == 4) {
|
||||
String[] players = wrapper.read(Type.STRING_ARRAY); // Players
|
||||
String[] players = wrapper.passthrough(Type.STRING_ARRAY); // Players
|
||||
final EntityTracker entityTracker = wrapper.user().get(EntityTracker.class);
|
||||
String myName = wrapper.user().get(ProtocolInfo.class).getUsername();
|
||||
String teamName = wrapper.get(Type.STRING, 0);
|
||||
@ -149,7 +149,6 @@ public class PlayerPackets {
|
||||
}
|
||||
}
|
||||
}
|
||||
wrapper.write(Type.STRING_ARRAY, players);
|
||||
}
|
||||
|
||||
if (mode == 1) { // Remove team
|
||||
|
Loading…
Reference in New Issue
Block a user