mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-12-06 03:07:20 +00:00
Simplified code
This commit is contained in:
1 parent
582836d3c2
commit
682490dd13
1 file changed
+1
-1
@@ -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