diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-05-10 17:56:08 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-05-10 17:56:08 +0200 |
commit | 07089fac78ee6de50052382892a842e6e5b84269 (patch) | |
tree | 9121f392ff768316eac1a2fc7523ff12af701ab6 /src/main | |
parent | 6de3f108c5ae48943012fad1475a3cfac0447997 (diff) | |
download | skyhanni-07089fac78ee6de50052382892a842e6e5b84269.tar.gz skyhanni-07089fac78ee6de50052382892a842e6e5b84269.tar.bz2 skyhanni-07089fac78ee6de50052382892a842e6e5b84269.zip |
Fixed another bug in composter overlay
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterOverlay.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterOverlay.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterOverlay.kt index 018ffe73b..64a2ecc46 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterOverlay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterOverlay.kt @@ -160,8 +160,8 @@ class ComposterOverlay { ) return } - if (currentOrganicMatterItem.let { it !in organicMatterFactors && it != "" }) currentOrganicMatterItem = "" - if (currentFuelItem.let { it !in organicMatterFactors && it != "" }) currentFuelItem = "" + if (currentOrganicMatterItem.let { it !in organicMatterFactors.keys && it != "" }) currentOrganicMatterItem = "" + if (currentFuelItem.let { it !in fuelFactors.keys && it != "" }) currentFuelItem = "" if (inComposter) { organicMatterDisplay = drawOrganicMatterDisplay() |