Removed some old deprecated code and clean up javadocs + warnings

This commit is contained in:
Erik Broes
2011-07-17 15:34:40 +02:00
parent fd260b0f4d
commit cc9ccc8976
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()];