mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2024-12-23 18:48:02 +00:00
Some code consistency
This commit is contained in:
parent
f9fbbb388a
commit
2cdc844b75
@ -10,7 +10,7 @@ import redis.clients.jedis.Jedis;
|
||||
|
||||
public class RedisUtil {
|
||||
public static void cleanUpPlayer(String player, Jedis rsc) {
|
||||
rsc.srem("server:" + RedisBungee.getApi().getServerId() + ":usersOnline", player);
|
||||
rsc.srem("server:" + RedisBungee.getServerId() + ":usersOnline", player);
|
||||
rsc.hdel("player:" + player, "server");
|
||||
rsc.hdel("player:" + player, "ip");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user