SteamWar/SpigotCore
Archiviert
13
0

Fix FightEndsPacket #182

Zusammengeführt
Lixfel hat 1 Commits von FixRanked nach master 2022-03-11 09:03:53 +01:00 zusammengeführt

Datei anzeigen

@ -36,6 +36,7 @@ public class FightEndsPacket extends SpigotPacket {
private int redSchem;
private List<Integer> bluePlayers;
private List<Integer> redPlayers;
private String gameMode;
public FightEndsPacket(ByteArrayDataInput byteArrayDataInput) {
win = byteArrayDataInput.readByte();
@ -49,6 +50,7 @@ public class FightEndsPacket extends SpigotPacket {
for (int i = 0; i < redSize; i++) {
redPlayers.add(byteArrayDataInput.readInt());
}
gameMode = byteArrayDataInput.readUTF();
}
@Override
@ -69,5 +71,6 @@ public class FightEndsPacket extends SpigotPacket {
for (int i : redPlayers) {
byteArrayDataOutput.writeInt(i);
}
byteArrayDataOutput.writeUTF(gameMode);
}
}