Fixed #WORLDGUARD-2297, Beacons are not protected in regions.

This commit is contained in:
sk89q 2012-11-11 18:45:55 -08:00
parent 03f77d5ab7
commit 942ce95dbf

View File

@ -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)) {