From dd1a4e30aa07cc7a9eaf5ac3e33432bf9f4cd352 Mon Sep 17 00:00:00 2001 From: alexia Date: Sun, 17 Dec 2023 15:10:38 +0100 Subject: Add option to show if plot is not sprayed (#808) Add option to show if plot is not sprayed. #808 --- .../java/at/hannibal2/skyhanni/features/garden/pests/SprayDisplay.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/at/hannibal2/skyhanni/features') diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/pests/SprayDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/pests/SprayDisplay.kt index 137db034e..c54e875ab 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/pests/SprayDisplay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/pests/SprayDisplay.kt @@ -31,7 +31,7 @@ class SprayDisplay { display = plot.currentSpray?.let { val timer = it.expiry.timeUntil() "§eSprayed with §a${it.type.displayName} §7- ${timer.timerColor("§b")}${timer.format()}" - } + } ?: if (config.showNotSprayed) "§cNot sprayed!" else "" } if (config.expiryNotification) { -- cgit