mirror of
https://github.com/GravitLauncher/Launcher
synced 2025-01-12 18:43:40 +03:00
[FIX] Ошибки компиляции
This commit is contained in:
parent
80e24715f6
commit
a7db7184db
2 changed files with 6 additions and 1 deletions
|
@ -154,7 +154,7 @@ public void onCheckInfo(OshiHWID hwid, String username, Connection c) throws HWI
|
|||
db_hwid.totalMemory = Long.valueOf(set.getString(hwidFieldTotalMemory));
|
||||
db_hwid.macAddr = set.getString(hwidFieldMAC);
|
||||
if (LogHelper.isDevEnabled()) {
|
||||
LogHelper.dev("Compare HWID: %s vs %s", hwid.getSerializeString(), db_hwid.getSerializeString());
|
||||
LogHelper.dev("Compare HWID: %s vs %s", hwid.toString(), db_hwid.toString());
|
||||
}
|
||||
int compare_point = hwid.compare(db_hwid);
|
||||
if (compare_point < compare) continue;
|
||||
|
|
|
@ -46,6 +46,11 @@ public int getLevel() {
|
|||
return toHWID().getLevel();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getAntiLevel() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int compare(HWID hwid) {
|
||||
return toHWID().compare(hwid);
|
||||
|
|
Loading…
Reference in a new issue