Fix #46
This commit is contained in:
parent
08bfbd7469
commit
24274a4c63
@ -57,7 +57,7 @@ public class ConnectListener {
|
|||||||
|
|
||||||
@Subscribe
|
@Subscribe
|
||||||
public void onServerPreConnect(ServerPreConnectEvent event, Continuation continuation) {
|
public void onServerPreConnect(ServerPreConnectEvent event, Continuation continuation) {
|
||||||
if (!event.getResult().isAllowed() && api.isLogged(event.getPlayer())) {
|
if (!event.getResult().isAllowed() || api.isLogged(event.getPlayer())) {
|
||||||
continuation.resume();
|
continuation.resume();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user