mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-11 09:23:42 +01:00
Added Server.getTime and Server.setTime
This commit is contained in:
parent
4792d55a08
commit
786488603e
1 changed files with 8 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue