mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-27 21:19:00 +01:00
Remove deprecated [gs]etTime calls
This commit is contained in:
parent
002b5ebefc
commit
b64667cde4
@ -140,7 +140,7 @@ public final class CraftServer implements Server {
|
||||
public int getMaxPlayers() {
|
||||
return server.getMaxPlayers();
|
||||
}
|
||||
|
||||
|
||||
public PluginManager getPluginManager() {
|
||||
return pluginManager;
|
||||
}
|
||||
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user