From 18e399281bbfed824bd5eca4faae1985adb3a435 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Fri, 14 Apr 2023 14:41:17 +0200 Subject: Show the organic matter/fuel is low message only once every 5 minutes instead of every 30 seconds --- .../hannibal2/skyhanni/features/garden/composter/ComposterDisplay.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/at') 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 } } -- cgit