Fix Player Rotation

This commit is contained in:
Kam committed 2025-03-31 22:46:20 -04:00
1 parent d504164905
commit ef389da110
1 file changed
+5
@@ -604,6 +604,11 @@ public class ScriptPlayer<T extends EntityPlayerMP> extends ScriptLivingBase<T>
NoppesUtilPlayer.teleportPlayer(player, player.posX, player.posY, player.posZ, rotationYaw, rotationPitch, player.dimension);
}
@Override
public float getRotation(){
return entity.rotationYaw;
}
public void swingHand() {
NoppesUtilPlayer.swingPlayerArm(player);
}