diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-04-14 14:41:17 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-04-14 14:41:17 +0200 |
commit | 18e399281bbfed824bd5eca4faae1985adb3a435 (patch) | |
tree | d8bc2c056f35fbd1e582fd1855372c9bd8c80c4b /src/main/java/at | |
parent | 2324a868b0bded60a8ca0905f51f0457711e8359 (diff) | |
download | skyhanni-18e399281bbfed824bd5eca4faae1985adb3a435.tar.gz skyhanni-18e399281bbfed824bd5eca4faae1985adb3a435.tar.bz2 skyhanni-18e399281bbfed824bd5eca4faae1985adb3a435.zip |
Show the organic matter/fuel is low message only once every 5 minutes instead of every 30 seconds
Diffstat (limited to 'src/main/java/at')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterDisplay.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterDisplay.kt index 3544511fc..691fc6846 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterDisplay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterDisplay.kt @@ -150,7 +150,7 @@ class ComposterDisplay { SendTitleHelper.sendTitle("§cYour Organic Matter is low", 4_000) } LorenzUtils.chat("§e[SkyHanni] §cYour Organic Matter is low!") - hidden.informedAboutLowMatter = System.currentTimeMillis() + 30_000 + hidden.informedAboutLowMatter = System.currentTimeMillis() + 60_000 * 5 } } @@ -161,7 +161,7 @@ class ComposterDisplay { SendTitleHelper.sendTitle("§cYour Fuel is low", 4_000) } LorenzUtils.chat("§e[SkyHanni] §cYour Fuel is low!") - hidden.informedAboutLowFuel = System.currentTimeMillis() + 30_000 + hidden.informedAboutLowFuel = System.currentTimeMillis() + 60_000 * 5 } } |