diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java index c3b9c7cdab..14eb19a117 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -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;