File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
src/main/java/com/thaddev/iw2thshortbows/client/gui Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments