mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-11-27 12:38:40 +01:00
Fix the checker
This commit is contained in:
parent
00ee643c62
commit
138d0a6a35
@ -37,7 +37,7 @@ public class WorldGuardBuilding implements Listener {
|
||||
ApplicableRegionSet regions = getApplicableRegions(event.getSign().getBlock().getLocation());
|
||||
|
||||
if (Properties.WORLDGUARD_USE_FLAG) {
|
||||
regions.allows(DefaultFlag.ENABLE_SHOP);
|
||||
event.allow(regions.allows(DefaultFlag.ENABLE_SHOP));
|
||||
} else {
|
||||
event.allow(regions.size() != 0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user