mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2025-02-02 21:41:39 +01:00
Workaround for sign dying issue.
Signs still get dyed even if you deny using dye.
This commit is contained in:
parent
ab7751e046
commit
35e0db36d3
@ -434,6 +434,7 @@ public void onPlayerInteract(PlayerInteractEvent event) {
|
||||
if (hasItemInteraction) {
|
||||
if (Events.fireAndTestCancel(new PlaceBlockEvent(event, cause, clicked.getLocation(), clicked.getType()))) {
|
||||
event.setUseItemInHand(Result.DENY);
|
||||
event.setUseInteractedBlock(Result.DENY);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user