summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/dungeon
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2024-07-06 08:08:52 +0200
committerGitHub <noreply@github.com>2024-07-06 08:08:52 +0200
commit7b3ed85d171c156f895fdbaeff4d18572fc0f18e (patch)
tree0bbfeca0a796bdd6494548f9f161edbc7fb6b700 /src/main/java/at/hannibal2/skyhanni/features/dungeon
parent34ba8c5fb8304e7b568822f8d3f675a0f133c6da (diff)
downloadskyhanni-7b3ed85d171c156f895fdbaeff4d18572fc0f18e.tar.gz
skyhanni-7b3ed85d171c156f895fdbaeff4d18572fc0f18e.tar.bz2
skyhanni-7b3ed85d171c156f895fdbaeff4d18572fc0f18e.zip
Backend: Fixed typos everywhere (#2175)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/dungeon')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/dungeon/CroesusChestTracker.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonAPI.kt4
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHideItems.kt2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/CroesusChestTracker.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/CroesusChestTracker.kt
index ff6c277bb..8b2d60069 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/CroesusChestTracker.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/CroesusChestTracker.kt
@@ -147,7 +147,7 @@ object CroesusChestTracker {
unopenedPattern.anyMatches(lore) -> OpenedState.UNOPENED
else -> ErrorManager.logErrorStateWithData(
"Croesus Chest couldn't be read correctly.",
- "Openstate check failed for chest.",
+ "Open state check failed for chest.",
"run" to run,
"lore" to lore
).run { null }
diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonAPI.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonAPI.kt
index d79ac47ce..f8d432613 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonAPI.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonAPI.kt
@@ -249,7 +249,7 @@ object DungeonAPI {
val bossCollections = bossStorage ?: return
if (event.inventoryName == "Boss Collections") {
- readallCollections(bossCollections, event.inventoryItems)
+ readAllCollections(bossCollections, event.inventoryItems)
} else if (event.inventoryName.endsWith(" Collection")) {
readOneMaxCollection(bossCollections, event.inventoryItems, event.inventoryName)
}
@@ -278,7 +278,7 @@ object DungeonAPI {
}
}
- private fun readallCollections(
+ private fun readAllCollections(
bossCollections: MutableMap<DungeonFloor, Int>,
inventoryItems: Map<Int, ItemStack>,
) {
diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHideItems.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHideItems.kt
index 9d2c531a5..f0ce80b1b 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHideItems.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHideItems.kt
@@ -151,7 +151,7 @@ object DungeonHideItems {
}
if (config.hideHealerFairy) {
- // Healer Fairy texture is stored in id 0, not id 4 for some reasos.
+ // Healer Fairy texture is stored in id 0, not id 4 for some reasons.
if (entity.inventory[0]?.getSkullTexture() == HEALER_FAIRY_TEXTURE) {
event.cancel()
return