From 37a80338f5ddb3f4f992091e8914f536c51b654c Mon Sep 17 00:00:00 2001 From: sk89q Date: Mon, 5 Jan 2015 13:31:14 -0800 Subject: [PATCH] Adjust USE flag material filter to include the proper items. --- .../sk89q/worldguard/bukkit/util/Materials.java | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/src/main/java/com/sk89q/worldguard/bukkit/util/Materials.java b/src/main/java/com/sk89q/worldguard/bukkit/util/Materials.java index 09ae55c4..aaeb121f 100644 --- a/src/main/java/com/sk89q/worldguard/bukkit/util/Materials.java +++ b/src/main/java/com/sk89q/worldguard/bukkit/util/Materials.java @@ -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; } /**