mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-03 08:39:09 +00:00
Simplified code
This commit is contained in:
@@ -21,7 +21,7 @@ public abstract class ServerParser {
|
||||
|
||||
public static final ServerDescription[] getDescriptions() {
|
||||
SERVER_CACHE.clear();
|
||||
final ArrayList<ServerParser> parsers = new ArrayList<ServerParser>();
|
||||
final ArrayList<ServerParser> parsers = new ArrayList<>();
|
||||
if (Core.inLoadLocal()) {
|
||||
parsers.add(new LocalServers());
|
||||
parsers.add(new PublicServers());
|
||||
|
||||
Reference in New Issue
Block a user