mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-22 23:10:52 +01:00
add option to force encryption
This commit is contained in:
parent
6715e48aa5
commit
c14746a05f
@ -57,7 +57,7 @@ public class SecureLoginEvent extends MessageHandler {
|
||||
if (!Emulator.isReady)
|
||||
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);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user