Linked NPC Abilities + Overlays Fix

This commit is contained in:
Kam committed 2026-03-11 17:11:57 -04:00
1 parent 19d6ec7e52
commit d5356a83ef
8 files changed
+150 -696

No files matched your search

@@ -136,6 +136,7 @@ public class LinkedNpcController {
npc.ais.readToNBT(compound);
npc.transform.readToNBT(compound);
npc.abilities.readFromNBT(compound);
npc.ais.setMovingPath(points);
npc.updateClient = true;
}
@@ -161,6 +162,7 @@ public class LinkedNpcController {
npc.ais.writeToNBT(compound);
npc.advanced.writeToNBT(compound);
npc.transform.writeToNBT(compound);
npc.abilities.writeToNBT(compound);
compound.setTag("ModelData", ((EntityCustomNpc) npc).modelData.writeToNBT());
return compound;
}