Create DPlayer for all players on game start

This commit is contained in:
Daniel Saukel 2016-04-29 21:54:57 +02:00
parent 8cbbe09265
commit 9ee1e56ddf

View File

@ -458,7 +458,7 @@ public class DGroup {
for (Player player : dGroup.getPlayers()) { for (Player player : dGroup.getPlayers()) {
DPlayer dPlayer = DPlayer.getByPlayer(player); DPlayer dPlayer = DPlayer.getByPlayer(player);
if (dPlayer == null) { if (dPlayer == null) {
continue; new DPlayer(player, gameWorld);
} }
if (!dPlayer.isReady()) { if (!dPlayer.isReady()) {