Remove deprecated [gs]etTime calls

By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
CraftBukkit/Spigot 2011-02-06 13:30:50 +01:00
parent 9c3badbaaf
commit 68f094f38b

View File

@ -140,7 +140,7 @@ public final class CraftServer implements Server {
public int getMaxPlayers() { public int getMaxPlayers() {
return server.getMaxPlayers(); return server.getMaxPlayers();
} }
public PluginManager getPluginManager() { public PluginManager getPluginManager() {
return pluginManager; return pluginManager;
} }
@ -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;
} }