Hotfix MWTeam NoSuchElementException
Dieser Commit ist enthalten in:
Ursprung
d867432a33
Commit
3596bfc263
@ -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);
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren