Typo correction: "companion"

This commit is contained in:
KAMKEEL committed 2023-03-02 16:10:22 -05:00
1 parent b0c2dff2fe
commit 7db4d2649b
1 file changed
+2 -2
@@ -1569,8 +1569,8 @@ public abstract class EntityNPCInterface extends EntityCreature implements IEnti
jobInterface.readFromNBT(bard);
}
if(advanced.role == EnumRoleType.Companion){
NBTTagCompound puppet = compound.getCompoundTag("Companion");
roleInterface.readFromNBT(puppet);
NBTTagCompound companion = compound.getCompoundTag("Companion");
roleInterface.readFromNBT(companion);
}
if(this instanceof EntityCustomNpc){
((EntityCustomNpc)this).modelData.readFromNBT(compound.getCompoundTag("ModelData"));