fix removing of unmodifiable npcs on reload
This commit is contained in:
parent
27a6f32f4f
commit
e611888339
@ -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 New Issue
Block a user