mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 04:59:05 +00:00
Linked NPC Abilities + Overlays Fix
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user