mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-12-24 18:19:03 +01:00
Oops, missed some changes.
This commit is contained in:
parent
cba1a95838
commit
c3f0c8a7a1
@ -492,5 +492,4 @@ public boolean isAdjacentChestProtected(Block block, Player player) {
|
||||
public ChestProtection getChestProtection() {
|
||||
return chestProtection;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -147,5 +147,4 @@ public void onLightningStrike(LightningStrikeEvent event) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -256,6 +256,8 @@ public static void claim(CommandContext args, WorldGuardPlugin plugin,
|
||||
|
||||
ApplicableRegionSet regions = mgr.getApplicableRegions(region);
|
||||
|
||||
|
||||
|
||||
// Check if this region overlaps any other region
|
||||
if (regions.size() > 0) {
|
||||
if (!regions.isOwnerOfAll(localPlayer)) {
|
||||
@ -264,7 +266,7 @@ public static void claim(CommandContext args, WorldGuardPlugin plugin,
|
||||
} else {
|
||||
if (wcfg.claimOnlyInsideExistingRegions) {
|
||||
throw new CommandException("You may only claim regions inside " +
|
||||
"existing regions that you or your group own.");
|
||||
"existing regions that you or your group own.");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user