From 8aa4c25186624d4171a6e5476d0a36f3563b2bc2 Mon Sep 17 00:00:00 2001 From: wizjany Date: Tue, 4 Jun 2019 17:20:42 -0400 Subject: [PATCH] Seeds don't modify blocks. They already throw place events. --- .../java/com/sk89q/worldguard/bukkit/util/Materials.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 eceb9894..1a718289 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 @@ -486,8 +486,7 @@ public final class Materials { MATERIAL_FLAGS.put(Material.IRON_HOE, MODIFIES_BLOCKS); MATERIAL_FLAGS.put(Material.DIAMOND_HOE, MODIFIES_BLOCKS); MATERIAL_FLAGS.put(Material.GOLDEN_HOE, MODIFIES_BLOCKS); - MATERIAL_FLAGS.put(Material.WHEAT_SEEDS, MODIFIES_BLOCKS); -// MATERIAL_FLAGS.put(Material.WHEAT_CROPS, 0); // Where is this? + MATERIAL_FLAGS.put(Material.WHEAT_SEEDS, 0); MATERIAL_FLAGS.put(Material.BREAD, 0); MATERIAL_FLAGS.put(Material.LEATHER_HELMET, 0); MATERIAL_FLAGS.put(Material.LEATHER_CHESTPLATE, 0); @@ -632,7 +631,7 @@ public final class Materials { MATERIAL_FLAGS.put(Material.BEETROOT, 0); MATERIAL_FLAGS.put(Material.BEETROOT_SOUP, 0); - MATERIAL_FLAGS.put(Material.BEETROOT_SEEDS, MODIFIES_BLOCKS); + MATERIAL_FLAGS.put(Material.BEETROOT_SEEDS, 0); MATERIAL_FLAGS.put(Material.CHORUS_FRUIT, 0); MATERIAL_FLAGS.put(Material.POPPED_CHORUS_FRUIT, 0); MATERIAL_FLAGS.put(Material.SHIELD, 0);