mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-11-18 08:35:53 +01:00
Fixed #WORLDGUARD-2297, Beacons are not protected in regions.
This commit is contained in:
parent
03f77d5ab7
commit
942ce95dbf
@ -693,7 +693,8 @@ private void handleBlockRightClick(PlayerInteractEvent event) {
|
||||
|| type == BlockID.WORKBENCH
|
||||
|| type == BlockID.BREWING_STAND
|
||||
|| type == BlockID.ENCHANTMENT_TABLE
|
||||
|| type == BlockID.CAULDRON) {
|
||||
|| type == BlockID.CAULDRON
|
||||
|| type == BlockID.COMMAND_BLOCK) {
|
||||
if (!plugin.getGlobalRegionManager().hasBypass(player, world)
|
||||
&& !set.canBuild(localPlayer)
|
||||
&& !set.allows(DefaultFlag.USE, localPlayer)) {
|
||||
|
Loading…
Reference in New Issue
Block a user