--- miscJava/bukkit-minecraft-plugins/HoerupUtils/src/dk/thoerup/bukkit/hoeruputils/EternalDayCommand.java 2011/05/26 18:57:50 1480 +++ miscJava/bukkit-minecraft-plugins/HoerupUtils/src/dk/thoerup/bukkit/hoeruputils/EternalDayCommand.java 2011/05/26 18:58:09 1481 @@ -53,8 +53,8 @@ @Override public void run() { for(World world : worlds) { - if (world.getTime() > 12000) { - System.out.println(" >" + world.getName() + " : " + world.getTime() ); + System.out.println(" >" + world.getName() + " : " + world.getTime() ); + 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!")); }