aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorjani270 <69345714+jani270@users.noreply.github.com>2023-01-12 21:13:39 +0100
committerGitHub <noreply@github.com>2023-01-12 21:13:39 +0100
commit4b3aad7142c04071961e8b4a87cb1b4759da38b7 (patch)
treedc205fb0830ca86f56b1fa302ccdc87a84ef8845 /src/main/java
parent6caaa18996b52fcbacea7789094e5486bb2ea349 (diff)
downloadNotEnoughUpdates-4b3aad7142c04071961e8b4a87cb1b4759da38b7.tar.gz
NotEnoughUpdates-4b3aad7142c04071961e8b4a87cb1b4759da38b7.tar.bz2
NotEnoughUpdates-4b3aad7142c04071961e8b4a87cb1b4759da38b7.zip
Changed Fishing Timer from 30 to 20 seconds (#547)
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/FishingHelper.java2
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Fishing.java8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/FishingHelper.java b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/FishingHelper.java
index e3afc73d..a7c22b93 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/FishingHelper.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/FishingHelper.java
@@ -148,7 +148,7 @@ public class FishingHelper {
int ticksExisted = hook.ticksExisted;
float seconds = ticksExisted / 20F;
int color;
- if (seconds >= 30) {
+ if (seconds >= 20) {
color = ChromaColour.specialToChromaRGB(NotEnoughUpdates.INSTANCE.config.fishing.fishingTimerColor30SecPlus);
if (NotEnoughUpdates.INSTANCE.config.fishing.fishingSound30Sec && !playedSound) {
ISound sound = new PositionedSound(new ResourceLocation("random.orb")) {{
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 10a4de0e..9d7a0775 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
@@ -263,8 +263,8 @@ public class Fishing {
@Expose
@ConfigOption(
- name = "Fishing timer colour (30s)",
- desc = "Colour of the fishing timer after 30 seconds or more have passed",
+ name = "Fishing timer colour (20s)",
+ desc = "Colour of the fishing timer after 20 seconds or more have passed",
searchTags = "color"
)
@ConfigEditorColour
@@ -273,8 +273,8 @@ public class Fishing {
@Expose
@ConfigOption(
- name = "Fishing timer ping (30s)",
- desc = "Play a sound after 30 seconds passed"
+ name = "Fishing timer ping (20s)",
+ desc = "Play a sound after 20 seconds passed"
)
@ConfigEditorBoolean
@ConfigAccordionId(id = 6)