Ignore cancelled block click events

This commit is contained in:
fullwall 2013-11-05 13:17:36 +08:00
parent 5ee4538fc4
commit 014a47faa0

View File

@ -126,7 +126,7 @@ public class Controllable extends Trait implements Toggleable, CommandConfigurab
return true; return true;
} }
@EventHandler @EventHandler(ignoreCancelled = true)
public void onPlayerInteract(PlayerInteractEvent event) { public void onPlayerInteract(PlayerInteractEvent event) {
if (!npc.isSpawned() || !enabled) if (!npc.isSpawned() || !enabled)
return; return;