mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-17 20:25:13 +00:00
Changed the functionality of the new variable that allows for larger angles.
This commit is contained in:
1 parent
5c81f3dd2e
commit
2588f14105
5 files changed
+12
-12
No files matched your search
@@ -628,7 +628,7 @@ public class ModelMPM extends ModelNPCMale{
|
||||
}
|
||||
|
||||
public void setInterpolatedAngles(JobPuppet job, ModelRenderer modelPart, JobPuppet.PartConfig puppetPart) {
|
||||
float pi = (float) Math.PI * (job.limitAngles ? 1 : 2);
|
||||
float pi = (float) Math.PI * (job.fullAngles ? 2 : 1);
|
||||
if (!job.animate) {
|
||||
modelPart.rotateAngleX = puppetPart.rotationX * pi;
|
||||
modelPart.rotateAngleY = puppetPart.rotationY * pi;
|
||||
|
||||
Reference in new issue
Block a user