From 942ce95dbf063346b11bda97e84cbba1ef38d1ad Mon Sep 17 00:00:00 2001 From: sk89q Date: Sun, 11 Nov 2012 18:45:55 -0800 Subject: [PATCH] Fixed #WORLDGUARD-2297, Beacons are not protected in regions. --- .../com/sk89q/worldguard/bukkit/WorldGuardPlayerListener.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/sk89q/worldguard/bukkit/WorldGuardPlayerListener.java b/src/main/java/com/sk89q/worldguard/bukkit/WorldGuardPlayerListener.java index 91116e2d..349f5989 100644 --- a/src/main/java/com/sk89q/worldguard/bukkit/WorldGuardPlayerListener.java +++ b/src/main/java/com/sk89q/worldguard/bukkit/WorldGuardPlayerListener.java @@ -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)) {