Fixed typo where BEACON was COMMAND_BLOCK instead.

This commit is contained in:
sk89q 2012-11-11 19:08:31 -08:00
parent 942ce95dbf
commit 2e7ecc59c0

View File

@ -694,7 +694,7 @@ private void handleBlockRightClick(PlayerInteractEvent event) {
|| type == BlockID.BREWING_STAND
|| type == BlockID.ENCHANTMENT_TABLE
|| type == BlockID.CAULDRON
|| type == BlockID.COMMAND_BLOCK) {
|| type == BlockID.BEACON) {
if (!plugin.getGlobalRegionManager().hasBypass(player, world)
&& !set.canBuild(localPlayer)
&& !set.allows(DefaultFlag.USE, localPlayer)) {