mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2026-04-09 00:20:26 +00:00
change method naming of updateProxiesIds
This commit is contained in:
@@ -12,7 +12,6 @@ import com.imaginarycode.minecraft.redisbungee.api.tasks.RedisTask;
|
||||
import com.imaginarycode.minecraft.redisbungee.api.util.RedisUtil;
|
||||
import com.imaginarycode.minecraft.redisbungee.api.util.payload.PayloadUtils;
|
||||
import com.imaginarycode.minecraft.redisbungee.api.util.uuid.UUIDTranslator;
|
||||
import org.checkerframework.checker.units.qual.A;
|
||||
import redis.clients.jedis.Jedis;
|
||||
import redis.clients.jedis.JedisCluster;
|
||||
import redis.clients.jedis.Protocol;
|
||||
@@ -377,6 +376,6 @@ public interface RedisBungeePlugin<P> extends EventsPlatform, ConfigLoader {
|
||||
|
||||
RedisBungeeMode getRedisBungeeMode();
|
||||
|
||||
void updateProxyIds();
|
||||
void updateProxiesIds();
|
||||
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ public class HeartbeatTask extends RedisTask<Void>{
|
||||
return null;
|
||||
}
|
||||
try {
|
||||
plugin.updateProxyIds();
|
||||
plugin.updateProxiesIds();
|
||||
globalPlayerCount.set(plugin.getCurrentCount());
|
||||
} catch (Throwable e) {
|
||||
plugin.logFatal("Unable to update data - did your Redis server go away?");
|
||||
@@ -52,7 +52,7 @@ public class HeartbeatTask extends RedisTask<Void>{
|
||||
return null;
|
||||
}
|
||||
try {
|
||||
plugin.updateProxyIds();
|
||||
plugin.updateProxiesIds();
|
||||
globalPlayerCount.set(plugin.getCurrentCount());
|
||||
} catch (Throwable e) {
|
||||
plugin.logFatal("Unable to update data - did your Redis server go away?");
|
||||
|
||||
Reference in New Issue
Block a user