aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/options
diff options
context:
space:
mode:
authorjani270 <69345714+jani270@users.noreply.github.com>2022-07-12 19:13:52 +0200
committerGitHub <noreply@github.com>2022-07-12 19:13:52 +0200
commitecbb0f68bbbd0dcea6c1a75855010d633625cc62 (patch)
tree7a3e0b01c31a07d5579d5ec4732f6687dd770458 /src/main/java/io/github/moulberry/notenoughupdates/options
parente548f8974f402025692baa60c22a06c38a99c4a3 (diff)
downloadnotenoughupdates-ecbb0f68bbbd0dcea6c1a75855010d633625cc62.tar.gz
notenoughupdates-ecbb0f68bbbd0dcea6c1a75855010d633625cc62.tar.bz2
notenoughupdates-ecbb0f68bbbd0dcea6c1a75855010d633625cc62.zip
Added sound for 30s fishing timer (#184)
* Added sound for 30s fishing timer * move code and play sound only once * remove seconds check Co-authored-by: Lulonaut <lulonaut@tutanota.de>
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/options')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Fishing.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Fishing.java b/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Fishing.java
index e02413f7..513474ca 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Fishing.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Fishing.java
@@ -264,4 +264,13 @@ public class Fishing {
@ConfigAccordionId(id = 6)
public String fishingTimerColor30SecPlus = "0:255:0:0:0";
+ @Expose
+ @ConfigOption(
+ name = "Fishing timer ping (30s)",
+ desc = "Play a sound after 30 seconds passed"
+ )
+ @ConfigEditorBoolean
+ @ConfigAccordionId(id = 6)
+ public boolean fishingSound30Sec = true;
+
}