@EventHandler(ignoreCancelled = true)
public void onEntityDeath(EntityDeathEvent event) {
CreatureTask.onEntityDeath(event.getEntity());
if (NPCManager.isNPC(event.getEntity())) {
HumanNPC npc = NPCManager.get(event.getEntity());
npc.callDeathEvent(event);
NPCManager.removeForRespawn(npc.getUID());
}
}
@EventHandler