Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-03 14:50:30 +01:00
Fix team remove
Dieser Commit ist enthalten in:
Ursprung
44be8b3791
Commit
8283816418
@ -129,7 +129,7 @@ public class PlayerPackets {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (mode == 0 || mode == 3 || mode == 4) {
|
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);
|
final EntityTracker entityTracker = wrapper.user().get(EntityTracker.class);
|
||||||
String myName = wrapper.user().get(ProtocolInfo.class).getUsername();
|
String myName = wrapper.user().get(ProtocolInfo.class).getUsername();
|
||||||
String teamName = wrapper.get(Type.STRING, 0);
|
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
|
if (mode == 1) { // Remove team
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren