mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2024-11-23 04:28:01 +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 class RedisUtil {
|
||||||
public static void cleanUpPlayer(String player, Jedis rsc) {
|
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, "server");
|
||||||
rsc.hdel("player:" + player, "ip");
|
rsc.hdel("player:" + player, "ip");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user