From 762e33e981521a85b3d6d0782d93c3a114895eef Mon Sep 17 00:00:00 2001 From: Marc Baloup Date: Sun, 5 Apr 2015 22:55:08 -0400 Subject: [PATCH] Correction de bug de /ghost thor --- .../java/plugin/pandacraftutils/commands/CommandGhost.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/net/mc_pandacraft/java/plugin/pandacraftutils/commands/CommandGhost.java b/src/net/mc_pandacraft/java/plugin/pandacraftutils/commands/CommandGhost.java index f8d66aa..f2168cb 100644 --- a/src/net/mc_pandacraft/java/plugin/pandacraftutils/commands/CommandGhost.java +++ b/src/net/mc_pandacraft/java/plugin/pandacraftutils/commands/CommandGhost.java @@ -100,6 +100,8 @@ public class CommandGhost extends AbstractCommandExecutor { player.sendMessage(ChatColor.RED+"Veuillez patienter "+TimeUtil.durationToString(timeBetweenThorCommand - timeSinceLastThorCommand)+" avant de refaire cette commande"); } + timeLastThorCommand = System.currentTimeMillis(); + @@ -158,9 +160,9 @@ public class CommandGhost extends AbstractCommandExecutor { boolean activated = op.toggleGhostParticle(); if (activated) - player.sendMessage(ChatColor.GREEN+"Activation des effets de particules"); + player.sendMessage(ChatColor.GREEN+"Activation des particules fantômes"); else - player.sendMessage(ChatColor.GREEN+"Désactivation des effets de particules"); + player.sendMessage(ChatColor.GREEN+"Désactivation des particules fantômes");