Fixed Open url confirm screen not showing URL.

This commit is contained in:
Lex Manos committed 2015-11-08 12:52:41 -08:00
1 parent 95b30f5153
commit ffbad6633d
4 files changed
+14 -2

No files matched your search

@@ -425,7 +425,7 @@ public class GuiModList extends GuiScreen
lines.add(WHITE + "Version: " + selectedMod.getVersion());
lines.add(WHITE + "Mod State: " + Loader.instance().getModState(selectedMod));
if (vercheck.status == Status.OUTDATED || vercheck.status == Status.BETA_OUTDATED)
lines.add("Update Avalible: " + (vercheck.url == null ? "" : vercheck.url));
lines.add("Update Available: " + (vercheck.url == null ? "" : vercheck.url));
lines.add(null);
lines.add(RED + "No mod information found");
@@ -202,6 +202,7 @@ public @interface Mod
/**
* An optional URL to a JSON file that will be checked once per launch to determine if there is an updated
* version of this mod and notify the end user. For more information see ForgeVersion.
* Format is defined here: https://gist.github.com/LexManos/7aacb9aa991330523884
* @return URL to update metadata json
*/
String updateJSON() default "";