Skip to content

Commit

Permalink
make the unknown cause actually say unknown (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
MicrocontrollersDev authored Jun 16, 2024
1 parent c038206 commit a0647c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public String getSuspectedCrashPatchMods() {
@Inject(method = "populateEnvironment", at = @At("TAIL"))
private void afterPopulateEnvironment(CallbackInfo ci) {
ModContainer susMod = ModIdentifier.INSTANCE.identifyFromStacktrace(cause);
crashpatch$suspectedMod = (susMod == null ? "None" : susMod.getName());
crashpatch$suspectedMod = (susMod == null ? "Unknown" : susMod.getName());
}

@Inject(method = "populateEnvironment", at = @At("HEAD"))
Expand Down

0 comments on commit a0647c0

Please sign in to comment.