From 4333b3937745cb0023f4af4c6de94d1c3cc056dc Mon Sep 17 00:00:00 2001 From: sk89q Date: Sun, 4 Jan 2015 19:13:07 -0800 Subject: [PATCH] Consider enchantment table + workbench MODIFIED_ON_CLICK. --- src/main/java/com/sk89q/worldguard/bukkit/util/Materials.java | 4 ++-- 1 file changed, 2 insertions(+), 2 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 7e971080..8ec9f4ef 100644 --- a/src/main/java/com/sk89q/worldguard/bukkit/util/Materials.java +++ b/src/main/java/com/sk89q/worldguard/bukkit/util/Materials.java @@ -122,7 +122,7 @@ public final class Materials { MATERIAL_FLAGS.put(Material.REDSTONE_WIRE, 0); MATERIAL_FLAGS.put(Material.DIAMOND_ORE, 0); MATERIAL_FLAGS.put(Material.DIAMOND_BLOCK, 0); - MATERIAL_FLAGS.put(Material.WORKBENCH, 0); + MATERIAL_FLAGS.put(Material.WORKBENCH, MODIFIED_ON_CLICK); MATERIAL_FLAGS.put(Material.CROPS, 0); MATERIAL_FLAGS.put(Material.SOIL, 0); MATERIAL_FLAGS.put(Material.FURNACE, MODIFIED_ON_CLICK); @@ -180,7 +180,7 @@ public final class Materials { MATERIAL_FLAGS.put(Material.NETHER_FENCE, 0); MATERIAL_FLAGS.put(Material.NETHER_BRICK_STAIRS, 0); MATERIAL_FLAGS.put(Material.NETHER_WARTS, 0); - MATERIAL_FLAGS.put(Material.ENCHANTMENT_TABLE, 0); + MATERIAL_FLAGS.put(Material.ENCHANTMENT_TABLE, MODIFIED_ON_CLICK); MATERIAL_FLAGS.put(Material.BREWING_STAND, MODIFIED_ON_CLICK); MATERIAL_FLAGS.put(Material.CAULDRON, MODIFIED_ON_CLICK); MATERIAL_FLAGS.put(Material.ENDER_PORTAL, 0);