/[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 1478 by torben, Thu May 26 18:32:20 2011 UTC revision 1479 by torben, Thu May 26 18:55:45 2011 UTC
# Line 30  public class EternalDayCommand implement Line 30  public class EternalDayCommand implement
30                    
31          @Override          @Override
32          public boolean onCommand(final CommandSender sender, Command command, String label, String[] args) {          public boolean onCommand(final CommandSender sender, Command command, String label, String[] args) {
33                                    //debug
34                    System.out.println("world count " + worlds.size());
35                    for (World world : worlds) {
36                            System.out.println(" >" + world.getName() + " : " + world.getTime() );
37                    }
38                                    
39                  if (taskId == -1) {                  if (taskId == -1) {
40                          taskId = server.getScheduler().scheduleSyncRepeatingTask(plugin, new EternalDayRunner(), 2*20, 60*20);                          taskId = server.getScheduler().scheduleSyncRepeatingTask(plugin, new EternalDayRunner(), 2*20, 60*20);

Legend:
Removed from v.1478  
changed lines
  Added in v.1479

  ViewVC Help
Powered by ViewVC 1.1.20