Changed checkForRegions to be checkForRegionsInChunk
This commit is contained in:
parent
5ea055a260
commit
a7cce7e428
@ -508,7 +508,7 @@ public class FPlayer {
|
||||
FLocation flocation = new FLocation(this);
|
||||
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
|
||||
sendMessage("This land is protected");
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user