Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

Commit

Permalink
Added missing return
Browse files Browse the repository at this point in the history
Closes #16

Signed-off-by: DeathsGun <deathsgun@protonmail.com>
  • Loading branch information
DeathsGun committed Aug 24, 2021
1 parent db04545 commit d1dc7c1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ protected void init() {
detailedMod = ModManager.getModProvider().getMod(summarizedMod.id());
} catch (Exception e) {
e.printStackTrace();
Objects.requireNonNull(this.client).setScreen(new ModManagerErrorScreen(this, e));
Objects.requireNonNull(this.client).setScreen(new ModManagerErrorScreen(previousScreen, e));
return;
}
int buttonX = this.width / 8;
String text = detailedMod.body().replaceAll("\\u00A0", " ");
Expand Down

0 comments on commit d1dc7c1

Please sign in to comment.