From c16a90424aef85d53648ab804b73f6e79e76d44c Mon Sep 17 00:00:00 2001 From: KAMKEEL Date: Thu, 2 Mar 2023 23:45:38 -0500 Subject: [PATCH] Change PuppetEnabled to AllowAnimation --- src/main/java/noppes/npcs/AnimationData.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/noppes/npcs/AnimationData.java b/src/main/java/noppes/npcs/AnimationData.java index 0912c1b9b..9f785eb1e 100644 --- a/src/main/java/noppes/npcs/AnimationData.java +++ b/src/main/java/noppes/npcs/AnimationData.java @@ -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) {