diff options
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/inventory/SackDisplay.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/inventory/SackDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/inventory/SackDisplay.kt index fcb258d21..73de0c85e 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/inventory/SackDisplay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/SackDisplay.kt @@ -51,7 +51,7 @@ object SackDisplay { else -> saclItems.sortedByDescending { it.second.stored.formatNumber() } }.toMap().toMutableMap() - sortedPairs.forEach { (k, v) -> + sortedPairs.toList().forEach { (k, v) -> if (v.stored == "0" && !config.showEmpty) { sortedPairs.remove(k) } |