Closed Wild1145 closed 8 years ago
There is never an instance to catch where player == null. After you define the reported player, the if statement needs to come right after that.
Player Reported = getPlayer(args[0]) if (Reported == null) { sender.sendMessage(ChatColor.RED + "Player not found!"); return true; }
When you try to report a player that is not there the plugin simply returns the parameters.