2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2024-11-26 22:18:01 +00:00

bump to 0.3.8, fix a silly bug.

This commit is contained in:
Tux 2015-10-21 15:55:09 -04:00
parent 2e9f99faff
commit 0a0f73c152
3 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@
<groupId>com.imaginarycode.minecraft</groupId>
<artifactId>RedisBungee</artifactId>
<version>0.3.7</version>
<version>0.3.8-SNAPSHOT</version>
<repositories>
<repository>

View File

@ -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));

View File

@ -1,6 +1,6 @@
name: RedisBungee
main: com.imaginarycode.minecraft.redisbungee.RedisBungee
version: 0.3.7
version: 0.3.8-SNAPSHOT
author: tuxed
# This is used so that we can automagically override default BungeeCord behavior.
softDepends: ["cmd_find", "cmd_list"]