mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-09 00:22:08 -07:00
Removed some old deprecated code and clean up javadocs + warnings
This commit is contained in:
@@ -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()];
|
||||
|
Reference in New Issue
Block a user