From 7b3ed85d171c156f895fdbaeff4d18572fc0f18e Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal002@users.noreply.github.com> Date: Sat, 6 Jul 2024 08:08:52 +0200 Subject: Backend: Fixed typos everywhere (#2175) Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> --- .../at/hannibal2/skyhanni/features/dungeon/CroesusChestTracker.kt | 2 +- src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonAPI.kt | 4 ++-- .../java/at/hannibal2/skyhanni/features/dungeon/DungeonHideItems.kt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/features/dungeon') 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, inventoryItems: Map, ) { 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 -- cgit