Bukkit Timers, now with 100% less github-services branch.

By: thylordroot <organicnightmare@gmail.com>
This commit is contained in:
CraftBukkit/Spigot 2011-01-10 10:10:37 +08:00
parent cc7e6db997
commit 3b1844601a

View file

@ -21,12 +21,14 @@ public final class CraftServer implements Server {
protected final MinecraftServer console;
protected final ServerConfigurationManager server;
protected CraftScheduler scheduler;
public CraftServer(MinecraftServer console, ServerConfigurationManager server) {
this.console = console;
this.server = server;
pluginManager.RegisterInterface(JavaPluginLoader.class);
scheduler = new CraftScheduler(this);
}
public void loadPlugins() {
@ -118,6 +120,10 @@ public final class CraftServer implements Server {
public void setTime(long time) {
console.e.e = time;
}
public CraftScheduler getScheduler() {
return scheduler;
}
public ServerConfigurationManager getHandle() {
return server;