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 c63f28b..c0fa216 100644 --- a/src/net/mc_pandacraft/java/plugin/pandacraftutils/commands/CommandGhost.java +++ b/src/net/mc_pandacraft/java/plugin/pandacraftutils/commands/CommandGhost.java @@ -60,6 +60,11 @@ public class CommandGhost extends AbstractCommandExecutor { private void showHelp(Player player) { + player.sendMessage(new String[] { + ChatColor.GOLD+"---------- Commande /ghost ----------", + ChatColor.GRAY+"/ghost thor "+ChatColor.GOLD+" produire de l'orage sur l'intégralité du serveur", + ChatColor.GOLD+"------------------------------------------" + }); } @@ -80,14 +85,14 @@ public class CommandGhost extends AbstractCommandExecutor { for (World w : worlds) { - int nbStrike = r.nextInt(2)+1; + WorldBorderConfigEntry config = ConfigManager.getInstance().worldBorderConfig.getEntry(w); + if (config == null) + continue; + + int nbStrike = r.nextInt(3)+1; for (int i=0; i