Fix issue
This commit is contained in:
parent
6cb4d8676c
commit
37fb319bd7
@ -24,6 +24,10 @@ public final class ProxyListener {
|
|||||||
|
|
||||||
@Subscribe
|
@Subscribe
|
||||||
public EventTask onDisconnect(final DisconnectEvent event) {
|
public EventTask onDisconnect(final DisconnectEvent event) {
|
||||||
|
if (event.getLoginStatus() == DisconnectEvent.LoginStatus.CONFLICTING_LOGIN) {
|
||||||
|
return EventTask.async(() -> {});
|
||||||
|
}
|
||||||
|
|
||||||
return EventTask.async(() -> plugin.removePlayer(event.getPlayer()));
|
return EventTask.async(() -> plugin.removePlayer(event.getPlayer()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user