From b51eb89f8dbf4082e30f17988ef0e05313256c31 Mon Sep 17 00:00:00 2001 From: Marc Baloup Date: Sat, 14 Feb 2015 03:16:49 -0500 Subject: [PATCH] =?UTF-8?q?Clarification=20des=20messages=20d'erreurs=20lo?= =?UTF-8?q?rs=20de=20l'ex=C3=A9cution=20d'une=20commande=20via=20le=20Netw?= =?UTF-8?q?orkAPI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../network_api/request_executors/RequestExecutorCommand.java | 2 +- .../request_executors/RequestExecutorCommandAsync.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/net/mc_pandacraft/java/plugin/pandacraftutils/network_api/request_executors/RequestExecutorCommand.java b/src/net/mc_pandacraft/java/plugin/pandacraftutils/network_api/request_executors/RequestExecutorCommand.java index 49cc790..44b439e 100644 --- a/src/net/mc_pandacraft/java/plugin/pandacraftutils/network_api/request_executors/RequestExecutorCommand.java +++ b/src/net/mc_pandacraft/java/plugin/pandacraftutils/network_api/request_executors/RequestExecutorCommand.java @@ -20,7 +20,7 @@ public class RequestExecutorCommand extends AbstractRequestExecutor { boolean succes = plugin.getServer().dispatchCommand(plugin.getServer().getConsoleSender(), command); if (!succes) - plugin.getLogger().warning("Can't execute command"); + plugin.getLogger().warning("La commande ne peut pas s'exécuter : /"+command); } catch (Exception e) { diff --git a/src/net/mc_pandacraft/java/plugin/pandacraftutils/network_api/request_executors/RequestExecutorCommandAsync.java b/src/net/mc_pandacraft/java/plugin/pandacraftutils/network_api/request_executors/RequestExecutorCommandAsync.java index 9f30273..c161b29 100644 --- a/src/net/mc_pandacraft/java/plugin/pandacraftutils/network_api/request_executors/RequestExecutorCommandAsync.java +++ b/src/net/mc_pandacraft/java/plugin/pandacraftutils/network_api/request_executors/RequestExecutorCommandAsync.java @@ -18,7 +18,7 @@ public class RequestExecutorCommandAsync extends AbstractRequestExecutor { 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"; } }