Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-16 04:50:05 +01:00
Added Server.getTime and Server.setTime
Dieser Commit ist enthalten in:
Ursprung
4792d55a08
Commit
786488603e
@ -87,6 +87,14 @@ public final class CraftServer implements Server {
|
|||||||
return new World[] { console.e.getWorld() };
|
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() {
|
public ServerConfigurationManager getHandle() {
|
||||||
return server;
|
return server;
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren