mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 01:27:27 +00:00
Fixed swingHand() function for ScriptPlayer
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user