mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-07-06 23:15:33 +02:00
Merge branch 'dev' of https://git.krews.org/morningstar/Arcturus-Community into dev
This commit is contained in:
commit
cd2fbcf169
|
@ -57,7 +57,7 @@ public class SecureLoginEvent extends MessageHandler {
|
||||||
if (!Emulator.isReady)
|
if (!Emulator.isReady)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (Emulator.getCrypto().isEnabled() && !this.client.isHandshakeFinished()) {
|
if (Emulator.getConfig().getBoolean("encryption.forced", false) && Emulator.getCrypto().isEnabled() && !this.client.isHandshakeFinished()) {
|
||||||
Emulator.getGameServer().getGameClientManager().disposeClient(this.client);
|
Emulator.getGameServer().getGameClientManager().disposeClient(this.client);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user