mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 16:37:45 +00:00
Change PuppetEnabled to AllowAnimation
This commit is contained in:
1 parent
9eb2052bdb
commit
c16a90424a
1 file changed
+2
-2
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user