diff --git a/LaunchServer/src/main/java/pro/gravit/launchserver/auth/protect/hwid/MemoryHWIDProvider.java b/LaunchServer/src/main/java/pro/gravit/launchserver/auth/protect/hwid/MemoryHWIDProvider.java index a4d679c7..5cc24c5b 100644 --- a/LaunchServer/src/main/java/pro/gravit/launchserver/auth/protect/hwid/MemoryHWIDProvider.java +++ b/LaunchServer/src/main/java/pro/gravit/launchserver/auth/protect/hwid/MemoryHWIDProvider.java @@ -84,11 +84,11 @@ public boolean addPublicKeyToHardwareInfo(HardwareReportRequest.HardwareInfo har for (MemoryHWIDEntity e : db) { HardwareInfoCompareResult result = compareHardwareInfo(e.hardware, hardwareInfo); if (warningSpoofingLevel > 0 && result.firstSpoofingLevel > warningSpoofingLevel && !isAlreadyWarning) { - LogHelper.warning("HardwareInfo spoofing level too high: %d", result.firstSpoofingLevel); + LogHelper.warning("HardwareInfo spoofing level too high: %f", result.firstSpoofingLevel); isAlreadyWarning = true; } if (result.compareLevel > criticalCompareLevel) { - LogHelper.debug("HardwareInfo publicKey change: compareLevel %d", result.compareLevel); + LogHelper.debug("HardwareInfo publicKey change: compareLevel %f", result.compareLevel); if (e.banned) throw new HWIDException("You HWID banned"); e.publicKey = publicKey; return true;