Ignore cancelled right click events

This commit is contained in:
fullwall 2013-10-17 15:27:53 +08:00
parent 551e1e8617
commit 215a834458
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ public class EventListen implements Listener {
checkCreationEvent(event);
}
@EventHandler
@EventHandler(ignoreCancelled = true)
public void onPlayerInteractEntity(PlayerInteractEntityEvent event) {
NPC npc = npcRegistry.getNPC(event.getRightClicked());
if (npc == null) {