mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-17 21:35:10 +00:00
Moved NPC puppet data to display data.
Improved mixin functionality, offsets and rotations always reset if the puppet "job" (not a job anymore, always in display) is disabled.
This commit is contained in:
1 parent
974bf2ca66
commit
8905f5f42e
14 files changed
+325
-197
No files matched your search
@@ -1548,11 +1548,6 @@ public abstract class EntityNPCInterface extends EntityCreature implements IEnti
|
||||
jobInterface.writeToNBT(bard);
|
||||
compound.setTag("Bard", bard);
|
||||
}
|
||||
if(advanced.job == EnumJobType.Puppet){
|
||||
NBTTagCompound bard = new NBTTagCompound();
|
||||
jobInterface.writeToNBT(bard);
|
||||
compound.setTag("Puppet", bard);
|
||||
}
|
||||
if(advanced.role == EnumRoleType.Companion){
|
||||
NBTTagCompound bard = new NBTTagCompound();
|
||||
roleInterface.writeToNBT(bard);
|
||||
@@ -1588,10 +1583,6 @@ public abstract class EntityNPCInterface extends EntityCreature implements IEnti
|
||||
NBTTagCompound bard = compound.getCompoundTag("Bard");
|
||||
jobInterface.readFromNBT(bard);
|
||||
}
|
||||
if(advanced.job == EnumJobType.Puppet){
|
||||
NBTTagCompound puppet = compound.getCompoundTag("Puppet");
|
||||
jobInterface.readFromNBT(puppet);
|
||||
}
|
||||
if(advanced.role == EnumRoleType.Companion){
|
||||
NBTTagCompound puppet = compound.getCompoundTag("Companion");
|
||||
roleInterface.readFromNBT(puppet);
|
||||
|
||||
Reference in new issue
Block a user