/[projects]/miscJava/bukkit-minecraft-plugins/HoerupUtils/src/dk/thoerup/bukkit/hoeruputils/EternalDayCommand.java
ViewVC logotype

Diff of /miscJava/bukkit-minecraft-plugins/HoerupUtils/src/dk/thoerup/bukkit/hoeruputils/EternalDayCommand.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1597 by torben, Fri May 27 11:33:40 2011 UTC revision 1598 by torben, Tue Sep 20 06:24:39 2011 UTC
# Line 50  public class EternalDayCommand implement Line 50  public class EternalDayCommand implement
50                  public void run() {                  public void run() {
51                          if (world.getTime() > 12000) {                                                            if (world.getTime() > 12000) {                                  
52                                  world.setTime(0);                                  world.setTime(0);
53                                  server.getScheduler().scheduleSyncDelayedTask(plugin, new MessageBroadcaster(server, ChatColor.YELLOW + "Eternalday has extended the period of light once again!"));                                  String msg = ChatColor.YELLOW + "Eternalday has extended the period of light once again!";              
54                                    //server.getScheduler().scheduleSyncDelayedTask(plugin, new MessageBroadcaster(server, msg));
55                                    Util.broadcastWorld(world, msg);
56                          }                                                                                }                                                      
57                  }                  }
58                                    

Legend:
Removed from v.1597  
changed lines
  Added in v.1598

  ViewVC Help
Powered by ViewVC 1.1.20