diff --git a/pom.xml b/pom.xml index ec69a6bb..1c92e4b7 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 io.github.dre2n dungeonsxl - 0.11.2 + 0.11.3 jar DungeonsXL https://dre2n.github.io 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 7af6cc5c..d1257819 100644 --- a/src/main/java/io/github/dre2n/dungeonsxl/player/DGroup.java +++ b/src/main/java/io/github/dre2n/dungeonsxl/player/DGroup.java @@ -470,16 +470,21 @@ public class DGroup { continue; } + boolean ready = true; for (Player player : dGroup.getPlayers()) { DGamePlayer dPlayer = DGamePlayer.getByPlayer(player); if (dPlayer == null) { - new DGamePlayer(player, gameWorld); + dPlayer = new DGamePlayer(player, gameWorld); } if (!dPlayer.isReady()) { - return; + ready = false; } } + + if (!ready) { + return; + } } DGroupStartFloorEvent event = new DGroupStartFloorEvent(this, gameWorld);