Skip to content
Permalink
Browse files

Seeds don't modify blocks.

They already throw place events.
  • Loading branch information...
wizjany committed Jun 4, 2019
1 parent 026361a commit 8aa4c25186624d4171a6e5476d0a36f3563b2bc2
Showing with 2 additions and 3 deletions.
  1. +2 −3 worldguard-legacy/src/main/java/com/sk89q/worldguard/bukkit/util/Materials.java
@@ -486,8 +486,7 @@
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 @@

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);

0 comments on commit 8aa4c25

Please sign in to comment.
You can’t perform that action at this time.