Added Server.getTime and Server.setTime

By: FrozenCow <frozencow@gmail.com>
This commit is contained in:
CraftBukkit/Spigot 2011-01-04 16:22:22 +08:00
parent 0be5b28936
commit 8bb6cd38e7

View file

@ -87,6 +87,14 @@ public final class CraftServer implements Server {
return new World[] { console.e.getWorld() };
}
public long getTime() {
return console.e.e;
}
public void setTime(long time) {
console.e.e = time;
}
public ServerConfigurationManager getHandle() {
return server;
}