mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2026-04-16 20:00:25 +00:00
bump to 0.3.8, fix a silly bug.
This commit is contained in:
@@ -73,7 +73,7 @@ public class RedisBungeeListener implements Listener {
|
||||
}
|
||||
|
||||
for (String s : plugin.getServerIds()) {
|
||||
if (jedis.sismember("proxy:" + s + ":usersOnline", s)) {
|
||||
if (jedis.sismember("proxy:" + s + ":usersOnline", event.getConnection().getUniqueId().toString())) {
|
||||
event.setCancelled(true);
|
||||
// TODO: Make it accept a BaseComponent[] like everything else.
|
||||
event.setCancelReason(TextComponent.toLegacyText(ALREADY_LOGGED_IN));
|
||||
|
||||
Reference in New Issue
Block a user