Fix #46
This commit is contained in:
parent
08bfbd7469
commit
24274a4c63
@ -57,7 +57,7 @@ public class ConnectListener {
|
||||
|
||||
@Subscribe
|
||||
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();
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user