From abfe3a2eb9c23a7dcaf67ad404b5dfe0eeadd045 Mon Sep 17 00:00:00 2001 From: Matthew Miller Date: Tue, 23 Apr 2019 12:36:20 +1000 Subject: [PATCH] Fixed chipped and damaged anvils not being protected from use/interact --- .../main/java/com/sk89q/worldguard/bukkit/util/Materials.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/worldguard-legacy/src/main/java/com/sk89q/worldguard/bukkit/util/Materials.java b/worldguard-legacy/src/main/java/com/sk89q/worldguard/bukkit/util/Materials.java index 577e1f29..0854d38b 100644 --- a/worldguard-legacy/src/main/java/com/sk89q/worldguard/bukkit/util/Materials.java +++ b/worldguard-legacy/src/main/java/com/sk89q/worldguard/bukkit/util/Materials.java @@ -238,6 +238,8 @@ public final class Materials { MATERIAL_FLAGS.put(Material.BEACON, MODIFIED_ON_RIGHT); MATERIAL_FLAGS.put(Material.COBBLESTONE_WALL, 0); MATERIAL_FLAGS.put(Material.ANVIL, MODIFIED_ON_RIGHT); + MATERIAL_FLAGS.put(Material.CHIPPED_ANVIL, MODIFIED_ON_RIGHT); + MATERIAL_FLAGS.put(Material.DAMAGED_ANVIL, MODIFIED_ON_RIGHT); MATERIAL_FLAGS.put(Material.TRAPPED_CHEST, MODIFIED_ON_RIGHT); MATERIAL_FLAGS.put(Material.HEAVY_WEIGHTED_PRESSURE_PLATE, 0); MATERIAL_FLAGS.put(Material.LIGHT_WEIGHTED_PRESSURE_PLATE, 0);