Skip to content

Commit f336573

Browse files
Update ModMismatchScreen.java
1 parent 0c6cbcb commit f336573

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/com/thaddev/iw2thshortbows/client/gui/ModMismatchScreen.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ protected void init() {
5454
this.minecraft.setScreen(new ConfirmLinkScreen((p_169337_) -> {
5555
if (p_169337_) {
5656
Util.getPlatform().openUri("https://www.curseforge.com/minecraft/mc-mods/iwant2tryhards-shortbows/files");
57+
Util.getPlatform().openFile(new File(this.minecraft.gameDirectory.getAbsolutePath() + "/mods"));
58+
this.minecraft.stop();
5759
}
5860

5961
this.minecraft.setScreen(this);
@@ -67,6 +69,8 @@ protected void init() {
6769
this.minecraft.setScreen(new ConfirmLinkScreen((p_169337_) -> {
6870
if (p_169337_) {
6971
Util.getPlatform().openUri("https://modrinth.com/mod/iwant2tryhards-shortbows/version/" + IWant2TryHardsShortbows.buildVersionString(ClientBrandRetriever.getClientModName()));
72+
Util.getPlatform().openFile(new File(this.minecraft.gameDirectory.getAbsolutePath() + "/mods"));
73+
this.minecraft.stop();
7074
}
7175

7276
this.minecraft.setScreen(this);

0 commit comments

Comments
 (0)