/[projects]/miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/EternalDayCommand.java |
Parent Directory | Revision Log | Patch
miscJava/bukkit-minecraft-plugins/HoerupUtils/src/dk/thoerup/bukkit/hoeruputils/EternalDayCommand.java revision 1483 by torben, Fri May 27 11:33:40 2011 UTC | miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/EternalDayCommand.java revision 1684 by torben, Fri Jan 27 12:21:27 2012 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 |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |