2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2026-04-08 16:10:26 +00:00

missed location were it wasn't using the constant

This commit is contained in:
2022-11-24 01:41:47 +04:00
parent ddfc689c2d
commit a9ea04c2c0

View File

@@ -67,7 +67,7 @@ public interface RedisBungeePlugin<P> extends EventsPlatform {
String v = stringStringEntry.getValue();
long heartbeatTime = Long.parseLong(v);
if (heartbeatTime + 30 >= redisTime) {
if (heartbeatTime + RedisUtil.PROXY_TIMEOUT >= redisTime) {
total = total + unifiedJedis.scard("proxy:" + k + ":usersOnline");
}
}