diff options
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/garden')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/ComposterDisplay.kt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/ComposterDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/ComposterDisplay.kt index 57cf15aa9..7f37c6867 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/ComposterDisplay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/ComposterDisplay.kt @@ -56,6 +56,10 @@ class ComposterDisplay { val newList = mutableListOf<List<Any>>() newList.addAsSingletonList("§bComposter") + for (type in DataType.values()) { + if (!data.containsKey(type)) return + } + newList.add(DataType.TIME_LEFT.addToList(data)) val list = mutableListOf<Any>() |