diff --git a/src/main/java/noppes/npcs/roles/JobPuppet.java b/src/main/java/noppes/npcs/roles/JobPuppet.java index 634fc7f65..4fa1b4638 100644 --- a/src/main/java/noppes/npcs/roles/JobPuppet.java +++ b/src/main/java/noppes/npcs/roles/JobPuppet.java @@ -200,14 +200,14 @@ public class JobPuppet extends JobInterface{ float f = rotation / 360f - 0.5f; if(this.getRotationY() != f && parent instanceof JobPuppet) ((JobPuppet)parent).npc.script.clientNeedsUpdate = true; - this.rotationY = rotation; + this.rotationY = f; } public void setRotationZ(float rotation) { float f = rotation / 360f - 0.5f; if(this.getRotationZ() != f && parent instanceof JobPuppet) ((JobPuppet)parent).npc.script.clientNeedsUpdate = true; - this.rotationZ = rotation; + this.rotationZ = f; } public float getRotationX() { diff --git a/src/main/java/noppes/npcs/scripted/roles/ScriptJobPuppet.java b/src/main/java/noppes/npcs/scripted/roles/ScriptJobPuppet.java index b93d3bd49..9eb4c8420 100644 --- a/src/main/java/noppes/npcs/scripted/roles/ScriptJobPuppet.java +++ b/src/main/java/noppes/npcs/scripted/roles/ScriptJobPuppet.java @@ -45,7 +45,7 @@ public class ScriptJobPuppet extends ScriptJobInterface implements IJobPuppet { public void allInterpolated(boolean interpolate) { for (int i = 0; i < 6; i++) { - this.getPart(i).setAnimated(interpolate); + this.getPart(i).setInterpolated(interpolate); } }