Change ModCore messages cause people keep thinking those are errors
This commit is contained in:
@@ -53,7 +53,9 @@ public class ReplayModMMLauncher implements Runnable {
|
|||||||
String mcVer = minecraft.get().getMetadata().getVersion().getFriendlyString();
|
String mcVer = minecraft.get().getMetadata().getVersion().getFriendlyString();
|
||||||
|
|
||||||
int result = ModCoreInstaller.initialize(gameDir, mcVer + "_fabric");
|
int result = ModCoreInstaller.initialize(gameDir, mcVer + "_fabric");
|
||||||
System.out.println("ReplayMod ModCore init result: " + result);
|
if (result != -2) { // Don't even bother logging the result if there's no ModCore for this version.
|
||||||
|
System.out.println("ReplayMod ModCore init result: " + result);
|
||||||
|
}
|
||||||
if (ModCoreInstaller.isErrored()) {
|
if (ModCoreInstaller.isErrored()) {
|
||||||
System.err.println(ModCoreInstaller.getError());
|
System.err.println(ModCoreInstaller.getError());
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -57,7 +57,9 @@
|
|||||||
//$$ }
|
//$$ }
|
||||||
//$$
|
//$$
|
||||||
//$$ int result = ModCoreInstaller.initialize(Launch.minecraftHome, mcVer + "_forge");
|
//$$ int result = ModCoreInstaller.initialize(Launch.minecraftHome, mcVer + "_forge");
|
||||||
//$$ System.out.println("ReplayMod ModCore init result: " + result);
|
//$$ if (result != -2) { // Don't even bother logging the result if there's no ModCore for this version.
|
||||||
|
//$$ System.out.println("ReplayMod ModCore init result: " + result);
|
||||||
|
//$$ }
|
||||||
//$$ if (ModCoreInstaller.isErrored()) {
|
//$$ if (ModCoreInstaller.isErrored()) {
|
||||||
//$$ System.err.println(ModCoreInstaller.getError());
|
//$$ System.err.println(ModCoreInstaller.getError());
|
||||||
//$$ }
|
//$$ }
|
||||||
|
|||||||
@@ -131,7 +131,7 @@ public class ModCoreInstaller {
|
|||||||
}
|
}
|
||||||
JsonHolder jsonHolder = fetchJSON(VERSION_URL);
|
JsonHolder jsonHolder = fetchJSON(VERSION_URL);
|
||||||
if (!jsonHolder.has(minecraftVersion)) {
|
if (!jsonHolder.has(minecraftVersion)) {
|
||||||
System.out.println("No ModCore target for " + minecraftVersion + ". Aborting install");
|
System.out.println("No ModCore target for " + minecraftVersion + ". This in fine, unless you're specifically looking for ModCore.");
|
||||||
return -2;
|
return -2;
|
||||||
}
|
}
|
||||||
String latestRemote = jsonHolder.optString(minecraftVersion);
|
String latestRemote = jsonHolder.optString(minecraftVersion);
|
||||||
|
|||||||
Reference in New Issue
Block a user