diff --git a/TwosideKeeper.jar b/TwosideKeeper.jar index 8e2f8a1..307a24f 100644 Binary files a/TwosideKeeper.jar and b/TwosideKeeper.jar differ diff --git a/src/sig/plugin/TwosideKeeper/PartyManager.java b/src/sig/plugin/TwosideKeeper/PartyManager.java index 8cf6617..5ac1b2a 100644 --- a/src/sig/plugin/TwosideKeeper/PartyManager.java +++ b/src/sig/plugin/TwosideKeeper/PartyManager.java @@ -178,7 +178,7 @@ public class PartyManager { private static void AddNearbyPlayersToSameParty(Player sourcep) { for (Player checkp : Bukkit.getOnlinePlayers()) { - if (!IsInParty(checkp) && sourcep.getLocation().distanceSquared(checkp.getLocation())<=Math.pow(TwosideKeeper.PARTY_CHUNK_SIZE,2)) { + if (!IsInParty(checkp) && checkp.getWorld().equals(sourcep.getWorld()) && sourcep.getLocation().distanceSquared(checkp.getLocation())<=Math.pow(TwosideKeeper.PARTY_CHUNK_SIZE,2)) { AddPlayerToParty(checkp,GetCurrentParty(sourcep)); AddNearbyPlayersToSameParty(checkp); }