--- miscJava/bukkit-minecraft-plugins/HoerupUtils/src/dk/thoerup/bukkit/hoeruputils/EternalDayCommand.java 2011/03/23 21:29:52 1242 +++ miscJava/bukkit-minecraft-plugins/HoerupUtils/src/dk/thoerup/bukkit/hoeruputils/EternalDayCommand.java 2011/03/23 21:47:26 1243 @@ -8,6 +8,8 @@ import org.bukkit.command.CommandSender; import org.bukkit.plugin.Plugin; +import dk.thoerup.bukkit.hoeruputils.utils.MessageBroadcaster; + public class EternalDayCommand implements CommandExecutor { @@ -48,6 +50,7 @@ public void run() { if (world.getTime() > 12000) { world.setTime(0); + server.getScheduler().scheduleSyncDelayedTask(plugin, new MessageBroadcaster(server, ChatColor.YELLOW + "Eternalday has extended the period of light once again!")); } }