2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2024-12-23 10:38:01 +00:00

Fix player counts sometimes showing invalid numbers

This commit is contained in:
Tux 2015-12-06 02:44:21 -05:00
parent 8a83a525a8
commit 150fbf5600

View File

@ -54,7 +54,7 @@ public final class RedisBungee extends Plugin {
private DataManager dataManager;
@Getter
private static OkHttpClient httpClient;
private List<String> serverIds;
private volatile List<String> serverIds;
private final AtomicInteger nagAboutServers = new AtomicInteger();
private ScheduledTask integrityCheck;
private ScheduledTask heartbeatTask;