Correction de bug de /ghost thor
This commit is contained in:
parent
a3300a9834
commit
762e33e981
@ -100,6 +100,8 @@ public class CommandGhost extends AbstractCommandExecutor {
|
|||||||
player.sendMessage(ChatColor.RED+"Veuillez patienter "+TimeUtil.durationToString(timeBetweenThorCommand - timeSinceLastThorCommand)+" avant de refaire cette commande");
|
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();
|
boolean activated = op.toggleGhostParticle();
|
||||||
|
|
||||||
if (activated)
|
if (activated)
|
||||||
player.sendMessage(ChatColor.GREEN+"Activation des effets de particules");
|
player.sendMessage(ChatColor.GREEN+"Activation des particules fantômes");
|
||||||
else
|
else
|
||||||
player.sendMessage(ChatColor.GREEN+"Désactivation des effets de particules");
|
player.sendMessage(ChatColor.GREEN+"Désactivation des particules fantômes");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user