diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-05-24 23:21:08 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-05-24 23:21:08 +0200 |
commit | 6a2304c0bd2b46b23180c393a1c254296986118a (patch) | |
tree | 67e8b61e5e73d68c829b08a7e8e13d9fae7f5f81 /src/main/java/at/hannibal2/skyhanni | |
parent | 617130c7f52d35335cd6f4f7f14e7fd3dc3af3af (diff) | |
download | skyhanni-6a2304c0bd2b46b23180c393a1c254296986118a.tar.gz skyhanni-6a2304c0bd2b46b23180c393a1c254296986118a.tar.bz2 skyhanni-6a2304c0bd2b46b23180c393a1c254296986118a.zip |
code cleanup
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/ChumBucketHider.kt | 2 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedWardrobePrice.kt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/ChumBucketHider.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/ChumBucketHider.kt index d32dcfd11..5e648d638 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/ChumBucketHider.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/ChumBucketHider.kt @@ -76,7 +76,7 @@ class ChumBucketHider { @SubscribeEvent fun onConfigLoad(event: ConfigLoadEvent) { - onToggle(config.enabled, config.hideBucket, config.hideOwn) { HideArmor.updateArmor() } + onToggle(config.enabled, config.hideBucket, config.hideOwn) { reset() } } private fun reset() { diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedWardrobePrice.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedWardrobePrice.kt index 7dd8ca20a..f7ed6601f 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedWardrobePrice.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedWardrobePrice.kt @@ -36,7 +36,7 @@ class EstimatedWardrobePrice { val price = EstimatedItemValue.getEstimatedItemPrice(item, mutableListOf()).first totalPrice += price - toolTip.add(index++, " §7-$name: §6${NumberUtil.format(price)}") + toolTip.add(index++, " §7- $name: §6${NumberUtil.format(price)}") } toolTip.add(index++, " §aTotal Value: §6§l${NumberUtil.format(totalPrice)}") } |