mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 02:37:27 +00:00
Fixed puppet behavior when used with animations
This commit is contained in:
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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user