SteamWar/MissileWars
Archiviert
13
0

Hotfix MWTeam NoSuchElementException

Dieser Commit ist enthalten in:
yoyosource 2021-04-04 19:00:46 +02:00
Ursprung d867432a33
Commit 3596bfc263

Datei anzeigen

@ -72,6 +72,9 @@ public class MWTeam {
} }
public void givePlayerItem(ItemStack item) { public void givePlayerItem(ItemStack item) {
if (players.isEmpty()) {
return;
}
Player p = players.removeFirst(); Player p = players.removeFirst();
players.addLast(p); players.addLast(p);