Clarification des messages d'erreurs lors de l'exécution d'une commande via le NetworkAPI

This commit is contained in:
Marc Baloup 2015-02-14 03:16:49 -05:00
parent 3a1095adad
commit b51eb89f8d
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ public class RequestExecutorCommand extends AbstractRequestExecutor {
boolean succes = plugin.getServer().dispatchCommand(plugin.getServer().getConsoleSender(), command); boolean succes = plugin.getServer().dispatchCommand(plugin.getServer().getConsoleSender(), command);
if (!succes) if (!succes)
plugin.getLogger().warning("Can't execute command"); plugin.getLogger().warning("La commande ne peut pas s'exécuter : /"+command);
} }
catch (Exception e) catch (Exception e)
{ {

View File

@ -18,7 +18,7 @@ public class RequestExecutorCommandAsync extends AbstractRequestExecutor {
if (!rep.good) if (!rep.good)
{ {
plugin.getLogger().warning("Can't execute command"); plugin.getLogger().warning("La commande ne peut pas s'exécuter : /"+data);
rep.data = "command sent but CommandExecutor has not return success"; rep.data = "command sent but CommandExecutor has not return success";
} }
} }