Change PuppetEnabled to AllowAnimation

This commit is contained in:
KAMKEEL committed 2023-03-02 23:45:38 -05:00
1 parent 9eb2052bdb
commit c16a90424a
1 file changed
+2 -2
+2 -2
View File
@@ -61,12 +61,12 @@ public class AnimationData implements IAnimationData {
}
public NBTTagCompound writeToNBT(NBTTagCompound compound) {
compound.setBoolean("PuppetEnabled", allowAnimation);
compound.setBoolean("AllowAnimation", allowAnimation);
return compound;
}
public void readFromNBT(NBTTagCompound compound) {
this.allowAnimation = compound.getBoolean("PuppetEnabled");
this.allowAnimation = compound.getBoolean("AllowAnimation");
}
public void setEnabled(boolean enabled) {