summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-07-24 13:25:18 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-07-24 13:25:18 +0200
commit450a0a003d687ae16448734ebef25acfb17cdde4 (patch)
tree352f4e8965e6ae0da3596efcdc57f73b8461d495 /src/main/java/at/hannibal2/skyhanni/features
parent0b8066fcd9c3318723a29ffadeb7e2fbfeb0250e (diff)
downloadskyhanni-450a0a003d687ae16448734ebef25acfb17cdde4.tar.gz
skyhanni-450a0a003d687ae16448734ebef25acfb17cdde4.tar.bz2
skyhanni-450a0a003d687ae16448734ebef25acfb17cdde4.zip
Fixed irrelevant spelling stuff
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonBossMessages.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonChatFilter.kt1
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/farming/CropMoneyDisplay.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/fortuneguide/CaptureFarmingGear.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/fortuneguide/FortuneUpgrades.kt4
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorDropStatistics.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt3
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/inventory/HighlightBonzoMasks.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/minion/MinionCollectLogic.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/discordrpc/DiscordLocationKey.kt4
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/discordrpc/DiscordStatus.kt4
12 files changed, 15 insertions, 15 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt b/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt
index 37b61d5a3..84acf124e 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt
@@ -314,7 +314,7 @@ class ChatFilter {
message == "§7Finding player..." -> true
message == "§7Sending a visit request..." -> true
- //warp portals on public islands (canvas room - flower house, election room - community center, void sepulture - the end)
+ //warp portals on public islands (canvas room – flower house, election room – community center, void sepulture – the end)
message.matchRegex("§dWarped to (.*)§r§d!") -> true
else -> false
}
diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonBossMessages.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonBossMessages.kt
index 2cd540ea1..60fd79f6d 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonBossMessages.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonBossMessages.kt
@@ -45,7 +45,7 @@ class DungeonBossMessages {
}
}
- //M7 - Dragons
+ //M7 – Dragons
message == "§cThe Crystal withers your soul as you hold it in your hands!" -> return true
message == "§cIt doesn't seem like that is supposed to go there." -> return true
}
diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonChatFilter.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonChatFilter.kt
index a4bce1680..9dca6d59b 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonChatFilter.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonChatFilter.kt
@@ -148,7 +148,6 @@ class DungeonChatFilter {
message == "§4[STATUE] Oruo the Omniscient§r§f: §r§fProve your knowledge by answering 3 questions and I shall reward you in ways that transcend time!" -> true
message == "§4[STATUE] Oruo the Omniscient§r§f: §r§fAnswer incorrectly, and your moment of ineptitude will live on for generations." -> true
-// message == "§4[STATUE] Oruo the Omniscient§r§f: §r§f2 questions §r§fleft...and§r§f you will have proven your worth to me!" -> true
message == "§4[STATUE] Oruo the Omniscient§r§f: §r§f2 questions left... Then you will have proven your worth to me!" -> true
message == "§4[STATUE] Oruo the Omniscient§r§f: §r§fOne more question!" -> true
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/CropMoneyDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/CropMoneyDisplay.kt
index e7f8e41f7..73a5cee71 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/CropMoneyDisplay.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/CropMoneyDisplay.kt
@@ -239,7 +239,7 @@ object CropMoneyDisplay {
for ((internalName, amount) in multipliers.moveEntryToTop { isSeeds(it.key) }) {
val crop = cropNames[internalName]!!
- // When only the NPC price is shown, display the price exclusively for the base item
+ // When only the NPC price is shown, display the price only for the base item
if (onlyNpcPrice) {
if (amount != 1) continue
} else {
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/fortuneguide/CaptureFarmingGear.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/fortuneguide/CaptureFarmingGear.kt
index d52535f0d..9f675fe15 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/fortuneguide/CaptureFarmingGear.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/fortuneguide/CaptureFarmingGear.kt
@@ -108,7 +108,7 @@ class CaptureFarmingGear {
}
}
if (event.inventoryName.contains("Pets")) {
- // If they have 2 of same pet, one will be overwritten
+ // If they've 2 of same pet, one will be overwritten
farmingItems[FarmingItems.ELEPHANT] = FFGuideGUI.getFallbackItem(FarmingItems.ELEPHANT)
farmingItems[FarmingItems.MOOSHROOM_COW] = FFGuideGUI.getFallbackItem(FarmingItems.MOOSHROOM_COW)
farmingItems[FarmingItems.RABBIT] = FFGuideGUI.getFallbackItem(FarmingItems.RABBIT)
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/fortuneguide/FortuneUpgrades.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/fortuneguide/FortuneUpgrades.kt
index da5bec218..1b062dc57 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/fortuneguide/FortuneUpgrades.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/fortuneguide/FortuneUpgrades.kt
@@ -81,7 +81,7 @@ object FortuneUpgrades {
val visitors = GardenAPI.config?.uniqueVisitors?.toDouble() ?: 0.0
for (piece in equipment) {
val item = piece.getItem()
- //todo tell them to purchase the missing item
+ //todo tell them to buy the missing item
if (!item.getInternalName().contains("LOTUS")) return
val enchantments = item.getEnchantments() ?: emptyMap()
val greenThumbLvl = enchantments["green_thumb"] ?: 0
@@ -226,7 +226,7 @@ object FortuneUpgrades {
private val cropUpgrades = listOf(5, 10, 20, 50, 100, 500, 1000, 5000, 10000)
- // If they unlock in a weird order e.g. getting a corner before a cheaper one won't work properly
+ // If they unlock in a weird order for example getting a corner before a cheaper one won't work properly
private val compostNeeded = listOf(1, 2, 4, 8, 16, 24, 32, 48, 64, 96, 128, 160, 160,
320, 320, 480, 480, 640, 800, 1120, 1280, 1600, 1920, 2400)
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorDropStatistics.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorDropStatistics.kt
index 62552bfbf..aee2c85de 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorDropStatistics.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorDropStatistics.kt
@@ -129,7 +129,7 @@ object GardenVisitorDropStatistics {
//8
addAsSingletonList(format(coinsSpent, "Coins Spent", "§6", ""))
- //9 - 14
+ //9 – 14
for (reward in VisitorReward.values()) {
val count = rewardsCount[reward] ?: 0
if (config.displayIcons) {// Icons
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt
index 7d5edae2e..1466d7472 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt
@@ -586,7 +586,8 @@ class GardenVisitorFeatures {
color
) { config.visitorHighlightStatus == 0 || config.visitorHighlightStatus == 2 }
}
- if (color == -1 || !GardenAPI.inGarden()) RenderLivingEntityHelper.removeEntityColor(entity) // Have not gotten either of the known effected visitors (Vex and Leo) so cannot test for sure
+ // Haven't gotten either of the known effected visitors (Vex and Leo) so can't test for sure
+ if (color == -1 || !GardenAPI.inGarden()) RenderLivingEntityHelper.removeEntityColor(entity)
}
}
}
diff --git a/src/main/java/at/hannibal2/skyhanni/features/inventory/HighlightBonzoMasks.kt b/src/main/java/at/hannibal2/skyhanni/features/inventory/HighlightBonzoMasks.kt
index ea1548117..a287662bc 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/inventory/HighlightBonzoMasks.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/HighlightBonzoMasks.kt
@@ -21,7 +21,7 @@ class HighlightBonzoMasks {
val maskTimers = mutableMapOf<String, CooldownTimer>()
- // Technically this timer is overestimating since the cooldown is affected by mage level, however I do not care.
+ // Technically this timer is overestimating since mage level affects the cooldown, however I don't care.
val bonzoMaskCooldown = 360.seconds
val bonzoMaskMessage = "^Your (.*Bonzo's Mask) saved your life!$".toRegex()
diff --git a/src/main/java/at/hannibal2/skyhanni/features/minion/MinionCollectLogic.kt b/src/main/java/at/hannibal2/skyhanni/features/minion/MinionCollectLogic.kt
index 177a0016e..9be2186ad 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/minion/MinionCollectLogic.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/minion/MinionCollectLogic.kt
@@ -28,7 +28,7 @@ class MinionCollectLogic {
return map
}
- // hypixel opens a new inventory after clicking on an item in minion inventory, InventoryCloseEvent is not usable here
+ // hypixel opens a new inventory after clicking on an item in minion inventory, InventoryCloseEvent isn't usable here
@SubscribeEvent
fun onCloseWindow(event: GuiContainerEvent.CloseWindowEvent) {
closeMinion()
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/discordrpc/DiscordLocationKey.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/discordrpc/DiscordLocationKey.kt
index 0b6ebef0b..bcc83842c 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/discordrpc/DiscordLocationKey.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/discordrpc/DiscordLocationKey.kt
@@ -29,7 +29,7 @@ class DiscordLocationKey {
"dark-thicket",
"jungle-island",
"gold-mine",
- "slimehill"
+ "slimehill",
"the-barn",
"mushroom-desert",
"the-end",
@@ -44,7 +44,7 @@ class DiscordLocationKey {
"village-plaza",
"wyld-woods"
)
- // list of tokens where the name can just be lowercased and spaces can be replaced with dashes
+ // list of tokens where the name can be lowercased and spaces can be replaced with dashes
private val specialRPC = mapOf(
"Fisherman's Hut" to "fishermans-hut",
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/discordrpc/DiscordStatus.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/discordrpc/DiscordStatus.kt
index 39f61f74b..4a2ef02c4 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/discordrpc/DiscordStatus.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/discordrpc/DiscordStatus.kt
@@ -155,7 +155,7 @@ enum class DiscordStatus(private val displayMessageSupplier: Supplier<String>?)
returnNum = "0$num".toInt()
/**
* and this is so that if the minute value is ever
- * a single digit (0 after being floored), it displays as 00 because 12:0pm just looks bad
+ * a single digit (0 after being floored), it displays as 00 because 12:0pm looks bad
*/
}
return returnNum
@@ -193,7 +193,7 @@ enum class DiscordStatus(private val displayMessageSupplier: Supplier<String>?)
val fruit = HypixelData.profileName.firstLetterUppercase()
if (fruit == "") profile =
- lastKnownDisplayStrings[PROFILE] ?: "SkyBlock Level: [$sbLevel]" // profile fruit has not loaded in yet
+ lastKnownDisplayStrings[PROFILE] ?: "SkyBlock Level: [$sbLevel]" // profile fruit hasn't loaded in yet
else profile += fruit
lastKnownDisplayStrings[PROFILE] = profile