Changed checkForRegions to be checkForRegionsInChunk

This commit is contained in:
Andy "Spathi" F 2011-08-29 15:06:34 +02:00
parent 5ea055a260
commit a7cce7e428

View File

@ -508,7 +508,7 @@ public class FPlayer {
FLocation flocation = new FLocation(this); FLocation flocation = new FLocation(this);
Faction otherFaction = Board.getFactionAt(flocation); Faction otherFaction = Board.getFactionAt(flocation);
if (Worldguard.checkForRegions(this.getPlayer().getLocation())) { if (Worldguard.checkForRegionsInChunk(this.getPlayer().getLocation())) {
// Checks for WorldGuard regions in the chunk attempting to be claimed // Checks for WorldGuard regions in the chunk attempting to be claimed
sendMessage("This land is protected"); sendMessage("This land is protected");
return false; return false;