mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-23 02:55:45 +01:00
Ignore cancelled NPC spawns
This commit is contained in:
parent
0c4044111e
commit
3dc814ef8c
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user