mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-11-23 19:16:40 +01:00
Adjust USE flag material filter to include the proper items.
This commit is contained in:
parent
8a5f233e84
commit
37a80338f5
@ -617,24 +617,16 @@ public static boolean isUseFlagApplicable(Material material) {
|
||||
return material == Material.LEVER
|
||||
|| material == Material.STONE_BUTTON
|
||||
|| material == Material.WOOD_BUTTON
|
||||
|| material == Material.NOTE_BLOCK
|
||||
|| material == Material.DIODE_BLOCK_OFF
|
||||
|| material == Material.DIODE_BLOCK_ON
|
||||
|| material == Material.WOODEN_DOOR
|
||||
|| material == Material.TRAP_DOOR
|
||||
|| material == Material.FENCE_GATE
|
||||
|| material == Material.JUKEBOX
|
||||
|| material == Material.DISPENSER
|
||||
|| material == Material.FURNACE
|
||||
|| material == Material.BURNING_FURNACE
|
||||
|| material == Material.WORKBENCH
|
||||
|| material == Material.BREWING_STAND
|
||||
|| material == Material.ENCHANTMENT_TABLE
|
||||
|| material == Material.CAULDRON
|
||||
|| material == Material.BEACON
|
||||
|| material == Material.ANVIL
|
||||
|| material == Material.HOPPER
|
||||
|| material == Material.DROPPER;
|
||||
|| material == Material.STONE_PLATE
|
||||
|| material == Material.IRON_PLATE
|
||||
|| material == Material.GOLD_PLATE;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user