diff options
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/farming/ArmorDropTracker.kt | 2 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerProfitTracker.kt | 14 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/ArmorDropTracker.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/ArmorDropTracker.kt index ac9f36190..21c271e49 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/ArmorDropTracker.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/ArmorDropTracker.kt @@ -73,7 +73,7 @@ object ArmorDropTracker { } private fun drawDisplay(data: Data): List<List<Any>> = buildList { - addAsSingletonList("§7RNG Drops for Farming Armor:") + addAsSingletonList("§7Armor Drop Tracker:") for ((drop, amount) in data.drops.sortedDesc()) { val dropName = drop.dropName addAsSingletonList(" §7- §e${amount.addSeparators()}x $dropName") diff --git a/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerProfitTracker.kt b/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerProfitTracker.kt index 43f609f10..7dbd4a7c3 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerProfitTracker.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerProfitTracker.kt @@ -52,7 +52,7 @@ object SlayerProfitTracker { } @Expose - var items: MutableMap<NEUInternalName, SlayerItemProfit> = HashMap() + var items: MutableMap<NEUInternalName, SlayerItem> = HashMap() @Expose var mobKillCoins: Long = 0 @@ -63,7 +63,7 @@ object SlayerProfitTracker { @Expose var slayerCompletedCount = 0 - class SlayerItemProfit { + class SlayerItem { @Expose var internalName: NEUInternalName? = null @@ -76,7 +76,7 @@ object SlayerProfitTracker { @Expose var hidden = false - override fun toString() = "SlayerItemProfit{" + + override fun toString() = "SlayerItem{" + "internalName='" + internalName + '\'' + ", timesDropped=" + timesDropped + ", totalAmount=" + totalAmount + @@ -84,7 +84,7 @@ object SlayerProfitTracker { '}' } - override fun toString() = "SlayerProfitList{" + + override fun toString() = "SlayerProfitTracker.Data{" + "items=" + items + ", mobKillCoins=" + mobKillCoins + ", slayerSpawnCost=" + slayerSpawnCost + @@ -135,10 +135,10 @@ object SlayerProfitTracker { private fun addItemPickup(internalName: NEUInternalName, stackSize: Int) { getTracker()?.modify { - val slayerItemProfit = it.items.getOrPut(internalName) { Data.SlayerItemProfit() } + val slayerItem = it.items.getOrPut(internalName) { Data.SlayerItem() } - slayerItemProfit.timesDropped++ - slayerItemProfit.totalAmount += stackSize + slayerItem.timesDropped++ + slayerItem.totalAmount += stackSize } } |