From 438bc59fbcb179eb9f4777fa774b071826441181 Mon Sep 17 00:00:00 2001 From: sk89q Date: Mon, 25 Aug 2014 00:05:44 -0700 Subject: [PATCH] Silence spam from not being able to walk on crops. Fixes WORLDGUARD-3143. --- .../worldguard/bukkit/listener/EventAbstractionListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/sk89q/worldguard/bukkit/listener/EventAbstractionListener.java b/src/main/java/com/sk89q/worldguard/bukkit/listener/EventAbstractionListener.java index 91bc9e43..76e366a3 100644 --- a/src/main/java/com/sk89q/worldguard/bukkit/listener/EventAbstractionListener.java +++ b/src/main/java/com/sk89q/worldguard/bukkit/listener/EventAbstractionListener.java @@ -303,7 +303,7 @@ public void onPlayerInteract(PlayerInteractEvent event) { switch (event.getAction()) { case PHYSICAL: // Forget about Redstone ore - if (Materials.isRedstoneOre(clicked.getType())) { + if (Materials.isRedstoneOre(clicked.getType()) || clicked.getType() == Material.SOIL) { silent = true; }