Merge pull request #8 from wine/nohurtcam-fix

Fix NoHurtCam crash
This commit is contained in:
Ridan Vandenbergh 2018-08-15 13:55:00 +02:00 committed by GitHub
commit 95f08785ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ public class NoHurtCam extends Module {
}
public static boolean shouldDisable() {
return INSTANCE.isEnabled();
return INSTANCE != null && INSTANCE.isEnabled();
}
}