mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-12-28 03:57:35 +01:00
Ignore cancelled block click events
This commit is contained in:
parent
5ee4538fc4
commit
014a47faa0
@ -126,7 +126,7 @@ public class Controllable extends Trait implements Toggleable, CommandConfigurab
|
||||
return true;
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
@EventHandler(ignoreCancelled = true)
|
||||
public void onPlayerInteract(PlayerInteractEvent event) {
|
||||
if (!npc.isSpawned() || !enabled)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user