aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Notifications.java
diff options
context:
space:
mode:
authorRoman / Nea <roman.graef@gmail.com>2022-07-14 19:57:37 +0200
committerGitHub <noreply@github.com>2022-07-14 19:57:37 +0200
commit6489385cabc021cc36b487151b5d6c85d7617390 (patch)
tree37370f9e12f20961cc11f216841ea1420bdcc90b /src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Notifications.java
parent36be173ff0505942fd9b54a39f64b703f1510d9e (diff)
downloadnotenoughupdates-6489385cabc021cc36b487151b5d6c85d7617390.tar.gz
notenoughupdates-6489385cabc021cc36b487151b5d6c85d7617390.tar.bz2
notenoughupdates-6489385cabc021cc36b487151b5d6c85d7617390.zip
Various fixes regarding finalizing the release ig (#186)
* Fix Sign calc not aligning properly with the GuiEditSign * "Fix" official wiki rendering. This one didnt receive extensive testing, but so far it works * Update notification changes * Dont reset the config lol
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Notifications.java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Notifications.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Notifications.java b/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Notifications.java
index 353cd36d..e25a535f 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Notifications.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Notifications.java
@@ -21,6 +21,7 @@ package io.github.moulberry.notenoughupdates.options.seperateSections;
import com.google.gson.annotations.Expose;
import io.github.moulberry.notenoughupdates.core.config.annotations.ConfigEditorBoolean;
+import io.github.moulberry.notenoughupdates.core.config.annotations.ConfigEditorDropdown;
import io.github.moulberry.notenoughupdates.core.config.annotations.ConfigEditorSlider;
import io.github.moulberry.notenoughupdates.core.config.annotations.ConfigOption;
@@ -30,8 +31,8 @@ public class Notifications {
name = "Update Messages",
desc = "Give a notification in chat whenever a new version of NEU is released"
)
- @ConfigEditorBoolean
- public boolean showUpdateMsg = true;
+ @ConfigEditorDropdown(values = {"Off", "Releases", "Pre-Releases"})
+ public int updateChannel = 1;
@Expose
@ConfigOption(