mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2024-11-22 20:28:00 +00:00
DURR HURR
This commit is contained in:
parent
70c3f5fcdc
commit
89d9981db8
@ -270,8 +270,10 @@ public class RedisBungee extends Plugin implements Listener {
|
|||||||
|
|
||||||
@EventHandler
|
@EventHandler
|
||||||
public void onPlayerDisconnect(final PlayerDisconnectEvent event) {
|
public void onPlayerDisconnect(final PlayerDisconnectEvent event) {
|
||||||
if (forcefullyKicked.contains(event.getPlayer().getName()))
|
if (forcefullyKicked.contains(event.getPlayer().getName())) {
|
||||||
|
forcefullyKicked.remove(event.getPlayer().getName());
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (pool != null) {
|
if (pool != null) {
|
||||||
Jedis rsc = pool.getResource();
|
Jedis rsc = pool.getResource();
|
||||||
|
Loading…
Reference in New Issue
Block a user