aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-13 20:03:49 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-13 20:03:49 +0100
commit8b353175fbff69e0baffadbb0c4857515f3add00 (patch)
tree405f90136212af7af3421fd713b1782eb30f1a7d /src
parentac7b96126d41f18325220e217e89e74460ba07f6 (diff)
downloadskyhanni-8b353175fbff69e0baffadbb0c4857515f3add00.tar.gz
skyhanni-8b353175fbff69e0baffadbb0c4857515f3add00.tar.bz2
skyhanni-8b353175fbff69e0baffadbb0c4857515f3add00.zip
typos
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/farming/ArmorDropTracker.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerProfitTracker.kt14
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
}
}