diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterOverlay.kt | 7 |
1 files changed, 7 insertions, 0 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 4173e7e0d..171aa503d 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 @@ -162,6 +162,13 @@ object ComposterOverlay { } private fun update() { + val composterUpgrades = ComposterAPI.composterUpgrades ?: return + if (composterUpgrades.isEmpty()) { + val list = Collections.singletonList(listOf("§cOpen Composter Upgrades!")) + organicMatterDisplay = list + fuelExtraDisplay = list + return + } if (organicMatterFactors.isEmpty()) { organicMatterDisplay = Collections.singletonList( |