(fix) code fix

This commit is contained in:
kirillsaint 2024-01-19 21:59:36 +06:00
parent f5a236d3c6
commit 768eb07413

View File

@ -290,7 +290,7 @@ public class Client {
logger.info("STARTING > servers");
ArrayList<FeaturedServers.FeaturedServerInfo> servers = FeaturedServers.get();
featuredServers.clear();
if(servers != null && servers != null) {
if(servers != null) {
servers.forEach(server -> {
featuredServers.add(new ServerDataFeature(server.getName(), server.getIp()));
});