Added fence gates to USE flag.

This commit is contained in:
Wizjany 2011-09-19 00:57:21 -04:00
parent 1f7cce9535
commit 0c02190e19

View File

@ -602,6 +602,7 @@ private void handleBlockRightClick(PlayerInteractEvent event) {
|| type == Material.DIODE_BLOCK_ON
|| type == Material.WOODEN_DOOR
|| type == Material.TRAP_DOOR
|| type == Material.FENCE_GATE
|| type == Material.WORKBENCH) {
if (!plugin.getGlobalRegionManager().hasBypass(player, world)
&& !set.allows(DefaultFlag.USE)