fix removing of unmodifiable npcs on reload
This commit is contained in:
parent
27a6f32f4f
commit
e611888339
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ public class NpcRegistryImpl implements NpcRegistry {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void unregisterAll() {
|
private void unregisterAll() {
|
||||||
for (NpcEntryImpl entry : npcList) entry.getNpc().delete();
|
for (NpcEntryImpl entry : getAllModifiable()) entry.getNpc().delete();
|
||||||
npcList.clear();
|
npcList.clear();
|
||||||
npcIdLookupMap.clear();
|
npcIdLookupMap.clear();
|
||||||
npcUuidLookupMap.clear();
|
npcUuidLookupMap.clear();
|
||||||
|
|
Loading…
Reference in a new issue