mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-09 00:22:08 -07:00
Remove deprecated [gs]etTime calls
This commit is contained in:
@@ -149,16 +149,6 @@ public final class CraftServer implements Server {
|
||||
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() {
|
||||
return server;
|
||||
}
|
||||
|
Reference in New Issue
Block a user