Removed some old deprecated code and clean up javadocs + warnings

By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
CraftBukkit/Spigot
2011-07-17 15:34:40 +02:00
parent e3dabafd4b
commit b558d85c05
29 changed files with 5 additions and 269 deletions

View File

@@ -19,7 +19,6 @@ import org.bukkit.inventory.ShapelessRecipe;
import java.io.File;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
@@ -163,6 +162,7 @@ public final class CraftServer implements Server {
return serverVersion + " (MC: " + protocolVersion + ")";
}
@SuppressWarnings("unchecked")
public Player[] getOnlinePlayers() {
List<EntityPlayer> online = server.players;
Player[] players = new Player[online.size()];