mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-12-17 22:57:39 +01:00
Silence spam from not being able to walk on crops.
Fixes WORLDGUARD-3143.
This commit is contained in:
parent
453f253e77
commit
438bc59fbc
@ -303,7 +303,7 @@ public void onPlayerInteract(PlayerInteractEvent event) {
|
|||||||
switch (event.getAction()) {
|
switch (event.getAction()) {
|
||||||
case PHYSICAL:
|
case PHYSICAL:
|
||||||
// Forget about Redstone ore
|
// Forget about Redstone ore
|
||||||
if (Materials.isRedstoneOre(clicked.getType())) {
|
if (Materials.isRedstoneOre(clicked.getType()) || clicked.getType() == Material.SOIL) {
|
||||||
silent = true;
|
silent = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user