Correction d'un NullPointerException
This commit is contained in:
parent
4f51118a8a
commit
b82b4a2e4b
@ -53,6 +53,7 @@ public class CommandStaff extends AbstractCommandExecutor {
|
||||
String message = getLastParam(args, 1);
|
||||
|
||||
staffManager.addWaitingPlayer(player, message);
|
||||
wp = staffManager.getWaitingPlayer(player);
|
||||
sender.sendMessage(ChatColor.GREEN+"Votre ticket a été envoyé :)");
|
||||
displayTicket(sender, wp, false);
|
||||
sender.sendMessage(ChatColor.RED+"Faites "+ChatColor.GRAY+"/"+alias+ChatColor.RED+" pour voir les commandes disponibles");
|
||||
|
Loading…
Reference in New Issue
Block a user