Ignore cancelled block click events
This commit is contained in:
parent
f3c6cdcede
commit
05f3667a37
|
@ -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