Fixed puppet behavior when used with animations

This commit is contained in:
Luis C.M committed 2023-03-18 02:07:37 -05:00
1 parent f7576ffc90
commit 2c012f2693
1 file changed
+1 -1
@@ -446,7 +446,7 @@ public class ModelMPM extends ModelNPCMale{
setPlayerData(npc);
currentlyPlayerTexture = true;
this.setRotationAngles(par2, par3, par4, par5, par6, par7, par1Entity);
if(npc.modelData.enableRotation){
if(npc.modelData.enableRotation && !npc.display.animationData.isActive()){
if(isRotationActive(npc)){
float pi = (float) Math.PI;