Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.17 KB | None | 0 0
  1. public void onArmSwing(Player player /* <-- The player is passed in to this function here */)
  2. {  
  3.     player.canBuild();
  4.     //^ referencing the player object that was passed in
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement