From 9ee1e56ddfba44163710f2adcd2751093dc49e91 Mon Sep 17 00:00:00 2001 From: Daniel Saukel Date: Fri, 29 Apr 2016 21:54:57 +0200 Subject: [PATCH] Create DPlayer for all players on game start --- src/main/java/io/github/dre2n/dungeonsxl/player/DGroup.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/github/dre2n/dungeonsxl/player/DGroup.java b/src/main/java/io/github/dre2n/dungeonsxl/player/DGroup.java index 901ef215..8b71a17b 100644 --- a/src/main/java/io/github/dre2n/dungeonsxl/player/DGroup.java +++ b/src/main/java/io/github/dre2n/dungeonsxl/player/DGroup.java @@ -458,7 +458,7 @@ public class DGroup { for (Player player : dGroup.getPlayers()) { DPlayer dPlayer = DPlayer.getByPlayer(player); if (dPlayer == null) { - continue; + new DPlayer(player, gameWorld); } if (!dPlayer.isReady()) {