File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -80,8 +80,8 @@ import {
8080 } else {
8181 addExtraMsg ( "Make sure to use the \"split\" mod template for this Minecraft version!" ) ;
8282
83- lines = lines . concat ( await getOrnitheDependenciesForSplit ( minecraftVersion , "client" ) ) ;
84- lines = lines . concat ( await getOrnitheDependenciesForSplit ( minecraftVersion , "server" ) ) ;
83+ lines = lines . concat ( await getOrnitheDependenciesForSplit ( gen , minecraftVersion , "client" ) ) ;
84+ lines = lines . concat ( await getOrnitheDependenciesForSplit ( gen , minecraftVersion , "server" ) ) ;
8585 }
8686
8787 return lines . join ( "\n" ) ;
@@ -114,8 +114,8 @@ import {
114114 return lines ;
115115 }
116116
117- async function getOrnitheDependenciesForSplit ( minecraftVersion , environment ) {
118- const featherBuild = await getLatestFeatherBuild ( `${ minecraftVersion } -${ environment } ` ) ;
117+ async function getOrnitheDependenciesForSplit ( gen , minecraftVersion , environment ) {
118+ const featherBuild = await getLatestFeatherBuild ( gen , `${ minecraftVersion } -${ environment } ` ) ;
119119
120120 if ( featherBuild !== null ) {
121121 const lines = [
You can’t perform that action at this time.
0 commit comments