Fix UpdateTeamsPacket
SteamWarCI Build successful

This commit is contained in:
yoyosource
2026-05-21 09:06:32 +02:00
parent 45bb5de601
commit 4067c44cd1
@@ -99,12 +99,7 @@ public class UpdateTeamsPacket implements MinecraftPacket {
} else {
byteBuf.writeByte((byte) color);
}
ProtocolUtils.writeVarInt(byteBuf, players.size());
for (String player : players) {
ProtocolUtils.writeString(byteBuf, player);
}
break;
// Fallthrough since players are at the end of the packet!
case ADD_PLAYER, REMOVE_PLAYER:
ProtocolUtils.writeVarInt(byteBuf, players.size());
for (String player : players) {