Closed SirPsp closed 11 years ago
Just checking if the player's held item is null throws an error when it is. I swing my arm with no item and I get this error http://pastebin.com/kQZa6kJL
The line in my code is simply: if (player.getItemHeld() == null){
Just checking if the player's held item is null throws an error when it is. I swing my arm with no item and I get this error http://pastebin.com/kQZa6kJL
The line in my code is simply: if (player.getItemHeld() == null){