Null out the loader anyway.

This commit is contained in:
somehussar committed 2025-12-09 08:15:12 +01:00
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;
}
}