mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 22:27:32 +00:00
Merge branch 'dev' into player-anims
This commit is contained in:
commit
8b07aa41cd
2 files changed
+3
-3
No files matched your search
@@ -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() {
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user