Silence spam from not being able to walk on crops.

Fixes WORLDGUARD-3143.
This commit is contained in:
sk89q 2014-08-25 00:05:44 -07:00
parent 453f253e77
commit 438bc59fbc

View File

@ -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;
}