mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2025-02-01 21:11:31 +01:00
Don't show particles for denied interact events with dripleaf and redstone ores
This commit is contained in:
parent
694195435d
commit
c65dd83a7e
@ -483,7 +483,7 @@ public void onPlayerInteract(PlayerInteractEvent event) {
|
||||
firedEvent.setSilent(true);
|
||||
}
|
||||
interactDebounce.debounce(clicked, event.getPlayer(), event, firedEvent);
|
||||
if (event.useInteractedBlock() == Result.DENY) {
|
||||
if (event.useInteractedBlock() == Result.DENY && !firedEvent.isSilent()) {
|
||||
playDenyEffect(player, clicked.getLocation().add(0, 1, 0));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user