mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-11-17 08:05:20 +01:00
Added fence gates to USE flag.
This commit is contained in:
parent
1f7cce9535
commit
0c02190e19
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user