mirror of
https://github.com/GravitLauncher/Launcher
synced 2025-01-09 00:59:44 +03:00
[FIX] NPE в AdvancedProtectHandler
This commit is contained in:
parent
72a8c03296
commit
c7688afb32
1 changed files with 1 additions and 1 deletions
|
@ -99,6 +99,6 @@ public Map<String, Command> getCommands() {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onJoinServer(String serverID, String username, Client client) {
|
public boolean onJoinServer(String serverID, String username, Client client) {
|
||||||
return !enableHardwareFeature || client.trustLevel.hardwareInfo != null;
|
return !enableHardwareFeature || (client.trustLevel != null && client.trustLevel.hardwareInfo != null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue