diff --git a/src/de/craftinc/gates/util/GateBlockChangeSender.java b/src/de/craftinc/gates/util/GateBlockChangeSender.java index 12022bf..11f86b1 100644 --- a/src/de/craftinc/gates/util/GateBlockChangeSender.java +++ b/src/de/craftinc/gates/util/GateBlockChangeSender.java @@ -119,7 +119,7 @@ public class GateBlockChangeSender for (Player p : Plugin.getPlugin().getServer().getOnlinePlayers()) { - if (p.getLocation().distance(gateLocation) < searchRadius) { + if (p.getWorld() == gateLocation.getWorld() && p.getLocation().distance(gateLocation) < searchRadius) { playersNearby.add(p); } }