@@ -49,16 +49,16 @@ public void init() {
4949
5050
5151 if (umcPath != null && umcPath .length () != 0 ) {
52- File jar = new File (umcPath , String .format ("UniversalModCore-%s-%s.jar" , umcVersion , loaderVersion ));
52+ File jar = new File (umcPath , String .format ("UniversalModCore-%s-%s.jar" , loaderVersion , umcVersion ));
5353 if (!jar .exists ()) {
5454 throw new RuntimeException (String .format ("Unable to find UMC jar: %s" , jar ));
5555 }
5656 vars .put ("UMC_REPO" , String .format ("repositories { flatDir { dirs '%s' } }" , jar .getParent ()));
5757 vars .put ("UMC_DEPENDENCY" , String .format ("name: '%s'" , jar .getName ().replace (".jar" , "" )));
5858 vars .put ("UMC_FILE" , jar .getPath ());
5959 } else {
60- vars .put ("UMC_DOWNLOAD" , String .format ("https://teamopenindustry.cc/maven/cam72cam/universalmodcore/UniversalModCore/%s-%s/UniversalModCore-%s-%s.jar" , version , loaderVersion , version , loaderVersion ));
61- vars .put ("UMC_DEPENDENCY" , String .format ("'cam72cam.universalmodcore:UniversalModCore:%s-%s'" , version , loaderVersion ));
60+ vars .put ("UMC_DOWNLOAD" , String .format ("https://teamopenindustry.cc/maven/cam72cam/universalmodcore/UniversalModCore/%s-%s/UniversalModCore-%s-%s.jar" , loaderVersion , version , loaderVersion , version ));
61+ vars .put ("UMC_DEPENDENCY" , String .format ("'cam72cam.universalmodcore:UniversalModCore:%s-%s'" , loaderVersion , version ));
6262 vars .put ("UMC_REPO" , "repositories { maven { url = \" https://teamopenindustry.cc/maven\" }}" );
6363
6464 }
0 commit comments