aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorNopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com>2022-10-10 05:37:05 +1100
committerGitHub <noreply@github.com>2022-10-09 20:37:05 +0200
commit4662a5a792e4dd790a45cd8da158e4464fb1e2dd (patch)
tree7fef407ab831730a0e211a47f1710ad19f1a6ce1 /src/main/java
parent98ec7b09eec00e57632a92a0f9245dc755d386ae (diff)
downloadNotEnoughUpdates-4662a5a792e4dd790a45cd8da158e4464fb1e2dd.tar.gz
NotEnoughUpdates-4662a5a792e4dd790a45cd8da158e4464fb1e2dd.tar.bz2
NotEnoughUpdates-4662a5a792e4dd790a45cd8da158e4464fb1e2dd.zip
Last pr before 2.1 i hope (#347)
* Changed version so update notifier works for everyone * Added some missed stuff to 2.1.md * Fixed typo * I just had to... fixed name * Blame efe and lulo if that isnt right Co-authored-by: jani270 <jani270@gmx.de>
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/NotEnoughUpdates.java2
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/updater/AutoUpdater.java10
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/CustomArmour.java2
3 files changed, 2 insertions, 12 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/NotEnoughUpdates.java b/src/main/java/io/github/moulberry/notenoughupdates/NotEnoughUpdates.java
index 09c910e9..3f535d68 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/NotEnoughUpdates.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/NotEnoughUpdates.java
@@ -123,7 +123,7 @@ import java.util.Set;
public class NotEnoughUpdates {
public static final String MODID = "notenoughupdates";
public static final String VERSION = "2.1.0-REL";
- public static final int VERSION_ID = 20100;
+ public static final int VERSION_ID = 20101; //2.1.1 only so update notif works
public static final int PRE_VERSION_ID = 0;
public static final int HOTFIX_VERSION_ID = 0;
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/updater/AutoUpdater.java b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/updater/AutoUpdater.java
index e7ada16f..389cfc75 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/updater/AutoUpdater.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/updater/AutoUpdater.java
@@ -95,16 +95,6 @@ public class AutoUpdater {
}
updateLoader = getUpdateLoader(url);
if (updateLoader == null) {
- logProgress(new ChatComponentText(
- "Your system does not support auto updates. Please download this update manually. Click here to read more about auto update compatibility (or the link above for manual downloads)")
- .setChatStyle(
- new ChatStyle()
- .setChatHoverEvent(new HoverEvent(
- HoverEvent.Action.SHOW_TEXT,
- new ChatComponentText("Click here to read about auto update modalities")
- ))
- .setChatClickEvent(new ClickEvent(ClickEvent.Action.RUN_COMMAND, "/neuupdate updatemodes"))
- ));
return;
}
updateLoader.greet();
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/CustomArmour.java b/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/CustomArmour.java
index d7f82a66..92b4b2ab 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/CustomArmour.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/CustomArmour.java
@@ -29,7 +29,7 @@ public class CustomArmour {
@Expose
@ConfigOption(
name = "Enable Equipment Hud",
- desc = "Shows an overlay in your inventory showing your 4 extra armour slots" +
+ desc = "Shows an overlay in your inventory showing your 4 extra armour slots\n" +
"\u00A7cRequires Hide Potion Effects to be enabled"
)
@ConfigEditorBoolean