mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-30 16:19:03 +01:00
Remove deprecated [gs]etTime calls
By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
parent
9c3badbaaf
commit
68f094f38b
1 changed files with 1 additions and 11 deletions
|
@ -149,16 +149,6 @@ public final class CraftServer implements Server {
|
||||||
return new World[]{console.e.getWorld()};
|
return new World[]{console.e.getWorld()};
|
||||||
}
|
}
|
||||||
|
|
||||||
@Deprecated
|
|
||||||
public long getTime() {
|
|
||||||
return getWorlds()[0].getFullTime();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Deprecated
|
|
||||||
public void setTime(long time) {
|
|
||||||
getWorlds()[0].setFullTime(time);
|
|
||||||
}
|
|
||||||
|
|
||||||
public ServerConfigurationManager getHandle() {
|
public ServerConfigurationManager getHandle() {
|
||||||
return server;
|
return server;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue