diff --git a/src/main/java/io/github/dre2n/dungeonsxl/sign/EndSign.java b/src/main/java/io/github/dre2n/dungeonsxl/sign/EndSign.java index 9c21f976..990555ae 100644 --- a/src/main/java/io/github/dre2n/dungeonsxl/sign/EndSign.java +++ b/src/main/java/io/github/dre2n/dungeonsxl/sign/EndSign.java @@ -77,7 +77,7 @@ public class EndSign extends DSign { @Override public void onTrigger() { - for (DGamePlayer dPlayer : plugin.getDPlayers().getDGamePlayers()) { + for (DGamePlayer dPlayer : DGamePlayer.getByWorld(getGameWorld().getWorld())) { dPlayer.finish(); } }