[FIX] Bad login (MySQL + HWID)

This commit is contained in:
Gravita 2022-03-30 15:52:28 +07:00
parent c42f410bc4
commit 8afa630546

View file

@ -103,7 +103,7 @@ public VerifySecureLevelKeyRequestEvent onSuccessVerify(Client client) {
@Override
public boolean onJoinServer(String serverID, String username, Client client) {
return !enableHardwareFeature || (client.trustLevel != null && client.trustLevel.hardwareInfo != null);
return !enableHardwareFeature || (client.trustLevel != null && client.trustLevel.publicKey != null);
}
@Override