diff options
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/ComposterDisplay.kt | 4 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt | 2 |
2 files changed, 4 insertions, 2 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>() diff --git a/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt index 921229e05..eb0aa48dd 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt @@ -51,8 +51,6 @@ object LorenzUtils { if (internalChat(DEBUG_PREFIX + message)) { consoleLog("[Debug] $message") } - } else { - consoleLog("[Debug] $message") } } |