mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 09:01:08 +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
|
||||
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