Skip to content

Commit

Permalink
If NPC is already despawned count that as a valid despawn
Browse files Browse the repository at this point in the history
  • Loading branch information
fullwall committed Jul 8, 2020
1 parent 0a4905c commit b5e5958
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/src/main/java/net/citizensnpcs/npc/CitizensNPC.java
Expand Up @@ -73,7 +73,7 @@ public boolean despawn(DespawnReason reason) {
if (reason == DespawnReason.RELOAD) {
unloadEvents();
}
return false;
return true;
}
NPCDespawnEvent event = new NPCDespawnEvent(this, reason);
if (reason == DespawnReason.CHUNK_UNLOAD) {
Expand Down

0 comments on commit b5e5958

Please sign in to comment.