Fix All Dungeons being ended

When triggering the End Sign with Redstone etc
This commit is contained in:
Sn0wStorm 2016-05-31 22:07:33 +02:00
parent 83a6934d87
commit 48b735791f

View File

@ -77,7 +77,7 @@ public class EndSign extends DSign {
@Override @Override
public void onTrigger() { public void onTrigger() {
for (DGamePlayer dPlayer : plugin.getDPlayers().getDGamePlayers()) { for (DGamePlayer dPlayer : DGamePlayer.getByWorld(getGameWorld().getWorld())) {
dPlayer.finish(); dPlayer.finish();
} }
} }