Ignore cancelled block click events

This commit is contained in:
fullwall 2013-11-05 13:17:36 +08:00
parent f3c6cdcede
commit 05f3667a37
1 changed files with 1 additions and 1 deletions

View File

@ -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;