diff options
author | Thunderblade73 <85900443+Thunderblade73@users.noreply.github.com> | 2024-05-26 12:23:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-26 12:23:02 +0200 |
commit | ea1385c77ffa8b9a4f98811fbf3e767c30d9edf7 (patch) | |
tree | 668444c961f0e8fc23cf5e52b38c11e33ad74b11 /src/main/java/at/hannibal2/skyhanni/features/fishing | |
parent | a214c141696f054b79c6ac13cb309992e3ac95d1 (diff) | |
download | skyhanni-ea1385c77ffa8b9a4f98811fbf3e767c30d9edf7.tar.gz skyhanni-ea1385c77ffa8b9a4f98811fbf3e767c30d9edf7.tar.bz2 skyhanni-ea1385c77ffa8b9a4f98811fbf3e767c30d9edf7.zip |
Fix Typos (#1897)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/fishing')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/fishing/ShowFishingItemName.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/fishing/ShowFishingItemName.kt b/src/main/java/at/hannibal2/skyhanni/features/fishing/ShowFishingItemName.kt index 2ce023100..13bd451f7 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/fishing/ShowFishingItemName.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/fishing/ShowFishingItemName.kt @@ -33,7 +33,7 @@ class ShowFishingItemName { if (!isEnabled()) return for (entityItem in EntityUtils.getEntitiesNextToPlayer<EntityItem>(15.0)) { val itemStack = entityItem.entityItem - // Hypixel sometimes replaces the bait item mid air with a stone + // Hypixel sometimes replaces the bait item midair with a stone if (itemStack.name.removeColor() == "Stone") continue var text = "" @@ -43,7 +43,7 @@ class ShowFishingItemName { if (itemStack.getSkullTexture() in cheapCoins) { text = "§6Coins" } else { - val name = itemStack.name.transformIf({isBait}) { "§7" + this.removeColor() } + val name = itemStack.name.transformIf({ isBait }) { "§7" + this.removeColor() } text += if (isBait) "§c§l- §r" else "§a§l+ §r" val size = itemStack.stackSize |