summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/ConsoleCommandHandler.java
diff options
context:
space:
mode:
authorDinnerbone <dinnerbone@dinnerbone.com>2011-07-08 13:25:53 +0100
committerDinnerbone <dinnerbone@dinnerbone.com>2011-07-08 13:25:53 +0100
commit2f218ba6b132f23cebe86efa8025b73005deb1ad (patch)
treea5f078704f509502bb06e3e57ab4f325ffb479d9 /src/main/java/net/minecraft/server/ConsoleCommandHandler.java
parentcc635ed51c8a98bbe2088115ca617c76cd7c730a (diff)
downloadcraftbukkit-2f218ba6b132f23cebe86efa8025b73005deb1ad.tar
craftbukkit-2f218ba6b132f23cebe86efa8025b73005deb1ad.tar.gz
craftbukkit-2f218ba6b132f23cebe86efa8025b73005deb1ad.tar.lz
craftbukkit-2f218ba6b132f23cebe86efa8025b73005deb1ad.tar.xz
craftbukkit-2f218ba6b132f23cebe86efa8025b73005deb1ad.zip
Update for 1.7.3
Diffstat (limited to 'src/main/java/net/minecraft/server/ConsoleCommandHandler.java')
-rw-r--r--src/main/java/net/minecraft/server/ConsoleCommandHandler.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/ConsoleCommandHandler.java b/src/main/java/net/minecraft/server/ConsoleCommandHandler.java
index 680bdde6..a7398b5f 100644
--- a/src/main/java/net/minecraft/server/ConsoleCommandHandler.java
+++ b/src/main/java/net/minecraft/server/ConsoleCommandHandler.java
@@ -205,14 +205,14 @@ public class ConsoleCommandHandler {
if ("add".equalsIgnoreCase(s3)) {
for (k = 0; k < this.server.worlds.size(); ++k) { // CraftBukkit
worldserver1 = this.server.worlds.get(k); // CraftBukkit
- worldserver1.setTime(worldserver1.getTime() + (long) j);
+ worldserver1.setTimeAndFixTicklists(worldserver1.getTime() + (long) j);
}
this.print(s1, "Added " + j + " to time");
} else if ("set".equalsIgnoreCase(s3)) {
for (k = 0; k < this.server.worlds.size(); ++k) { // CraftBukkit
worldserver1 = this.server.worlds.get(k); // CraftBukkit
- worldserver1.setTime((long) j);
+ worldserver1.setTimeAndFixTicklists((long) j);
}
this.print(s1, "Set time to " + j);