From b64667cde4ad0281a51fb2738010a80da44862f9 Mon Sep 17 00:00:00 2001 From: Erik Broes Date: Sun, 6 Feb 2011 13:30:50 +0100 Subject: [PATCH] Remove deprecated [gs]etTime calls --- .../java/org/bukkit/craftbukkit/CraftServer.java | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java index 73396f1f96..3ebb579c9c 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -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; }