geforkt von Mirrors/Paper
Revert "Bukkit Timers, now with 100% less github-services branch."
This reverts commit 7c37a03a092be7e9c3fb242b4cbe4f6644899af6.
Dieser Commit ist enthalten in:
Ursprung
0a15f98a2e
Commit
11b114ca16
@ -123,9 +123,6 @@ implements ICommandListener, Runnable {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
a.info("Starting timer event scheduler");
|
||||
server.getScheduler().start();
|
||||
|
||||
e();
|
||||
}
|
||||
@ -150,10 +147,6 @@ implements ICommandListener, Runnable {
|
||||
|
||||
private void g() {
|
||||
a.info("Stopping server");
|
||||
|
||||
a.info("Starting timer event scheduler");
|
||||
server.getScheduler().disable();
|
||||
|
||||
if (f != null) {
|
||||
f.d();
|
||||
}
|
||||
|
@ -21,14 +21,12 @@ 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() {
|
||||
@ -120,10 +118,6 @@ 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;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren