Fixed Open url confirm screen not showing URL.
This commit is contained in:
parent
95b30f5153
commit
ffbad6633d
4 changed files with 14 additions and 2 deletions
|
@ -0,0 +1,11 @@
|
|||
--- ../src-base/minecraft/net/minecraft/client/gui/GuiConfirmOpenLink.java
|
||||
+++ ../src-work/minecraft/net/minecraft/client/gui/GuiConfirmOpenLink.java
|
||||
@@ -26,6 +26,8 @@
|
||||
|
||||
public void func_73866_w_()
|
||||
{
|
||||
+ super.func_73866_w_();// Call super to add line #2
|
||||
+ this.field_146292_n.clear();
|
||||
this.field_146292_n.add(new GuiButton(0, this.field_146294_l / 2 - 50 - 105, this.field_146295_m / 6 + 96, 100, 20, this.field_146352_g));
|
||||
this.field_146292_n.add(new GuiButton(2, this.field_146294_l / 2 - 50, this.field_146295_m / 6 + 96, 100, 20, this.field_146362_s));
|
||||
this.field_146292_n.add(new GuiButton(1, this.field_146294_l / 2 - 50 + 105, this.field_146295_m / 6 + 96, 100, 20, this.field_146356_h));
|
|
@ -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 "";
|
||||
|
|
Loading…
Reference in a new issue