mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-14 02:34:10 +00:00
Null out the loader anyway.
This commit is contained in:
1 parent
f8dc8d9268
commit
b4608ffe19
1 file changed
+1
@@ -47,6 +47,7 @@ public class EntityUnloadListener implements IWorldAccess {
|
||||
EntityNPCInterface npc = (EntityNPCInterface) entity;
|
||||
if (npc.janinoHandler != null)
|
||||
npc.janinoHandler.prepareToUnload();
|
||||
npc.janinoHandler = null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user