Ignore cancelled NPC spawns

This commit is contained in:
fullwall 2016-06-12 23:50:35 +08:00
parent 0c4044111e
commit 3dc814ef8c

View File

@ -369,7 +369,7 @@ public class EventListen implements Listener {
skinUpdateTracker.onNPCDespawn(event.getNPC());
}
@EventHandler
@EventHandler(ignoreCancelled = true)
public void onNPCSpawn(NPCSpawnEvent event) {
skinUpdateTracker.onNPCSpawn(event.getNPC());
}