mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 12:27:59 +01:00
Bukkit Timers, now with 100% less github-services branch.
By: thylordroot <organicnightmare@gmail.com>
This commit is contained in:
parent
cc7e6db997
commit
3b1844601a
@ -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() {
|
||||
@ -119,6 +121,10 @@ public final class CraftServer implements Server {
|
||||
console.e.e = time;
|
||||
}
|
||||
|
||||
public CraftScheduler getScheduler() {
|
||||
return scheduler;
|
||||
}
|
||||
|
||||
public ServerConfigurationManager getHandle() {
|
||||
return server;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user