mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-10 07:01:32 +01:00
(fix) code fix
This commit is contained in:
parent
f5a236d3c6
commit
768eb07413
@ -290,7 +290,7 @@ public class Client {
|
|||||||
logger.info("STARTING > servers");
|
logger.info("STARTING > servers");
|
||||||
ArrayList<FeaturedServers.FeaturedServerInfo> servers = FeaturedServers.get();
|
ArrayList<FeaturedServers.FeaturedServerInfo> servers = FeaturedServers.get();
|
||||||
featuredServers.clear();
|
featuredServers.clear();
|
||||||
if(servers != null && servers != null) {
|
if(servers != null) {
|
||||||
servers.forEach(server -> {
|
servers.forEach(server -> {
|
||||||
featuredServers.add(new ServerDataFeature(server.getName(), server.getIp()));
|
featuredServers.add(new ServerDataFeature(server.getName(), server.getIp()));
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user