mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-28 14:45:59 +00:00
Merge branch 'dev'
This commit is contained in:
commit
0736ac27d4
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