Fixed swingHand() function for ScriptPlayer

This commit is contained in:
Luis C.M committed 2022-05-02 01:41:43 -05:00
1 parent ff37a8bec2
commit b309738c0b
4 files changed
+12 -2

No files matched your search

@@ -360,6 +360,10 @@ public class ScriptPlayer<T extends EntityPlayerMP> extends ScriptLivingBase<T>
public void setRotation(float rotationYaw, float rotationPitch){
NoppesUtilPlayer.teleportPlayer(player, player.posX, player.posY, player.posZ, rotationYaw, rotationPitch, player.dimension);
}
public void swingHand(){
NoppesUtilPlayer.swingPlayerArm(player);
}
/**
* @param achievement The achievement id. For a complete list see http://minecraft.gamepedia.com/Achievements