From 6bf8f7b9e251b814bbb3cb8e0b786eabe4a7b358 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Thu, 14 Sep 2023 12:19:56 +0200 Subject: Fixed typos in the word SkyBlock --- .../at/hannibal2/skyhanni/features/bingo/BingoNextStepHelper.kt | 2 +- .../java/at/hannibal2/skyhanni/features/bingo/CompactBingoChat.kt | 8 ++++---- .../at/hannibal2/skyhanni/features/dungeon/DungeonChatFilter.kt | 2 +- .../skyhanni/features/event/diana/GriffinBurrowParticleFinder.kt | 2 +- .../skyhanni/features/inventory/SkyBlockLevelGuideHelper.kt | 2 +- .../skyhanni/features/misc/discordrpc/DiscordRPCManager.kt | 2 +- .../hannibal2/skyhanni/features/misc/items/GlowingDroppedItems.kt | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/features') diff --git a/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoNextStepHelper.kt b/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoNextStepHelper.kt index 5ee7dfb1d..53a240128 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoNextStepHelper.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoNextStepHelper.kt @@ -322,7 +322,7 @@ class BingoNextStepHelper { IslandType.CRYSTAL_HOLLOWS.getStep() requires IslandType.DWARVEN_MINES.getStep() - // TODO add skyblock level requirement + // TODO add SkyBlock level requirement // IslandType.GARDEN.getStep() requires SkyBlockLevelStep(6) IslandType.GARDEN.getStep() requires IslandType.HUB.getStep() diff --git a/src/main/java/at/hannibal2/skyhanni/features/bingo/CompactBingoChat.kt b/src/main/java/at/hannibal2/skyhanni/features/bingo/CompactBingoChat.kt index c73806877..be4838ee9 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/bingo/CompactBingoChat.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/bingo/CompactBingoChat.kt @@ -11,7 +11,7 @@ class CompactBingoChat { private val config get() = SkyHanniMod.feature.bingo.compactChat private var inSkillLevelUp = false - private var inSkyblockLevelUp = false + private var inSkyBlockLevelUp = false private var inCollectionLevelUp = false private var collectionLevelUpLastLine: String? = null private var newArea = 0//0 = nothing, 1 = after first message, 2 = after second message @@ -28,7 +28,7 @@ class CompactBingoChat { message == "§e§l▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬" ) { inSkillLevelUp = false - inSkyblockLevelUp = false + inSkyBlockLevelUp = false inCollectionLevelUp = false if (config.hideBorder) { event.blockedReason = "compact_bingo_border" @@ -59,11 +59,11 @@ class CompactBingoChat { private fun onSkyBlockLevelUp(message: String): Boolean { if (message.startsWith(" §r§3§lSKYBLOCK LEVEL UP §bLevel ")) { - inSkyblockLevelUp = true + inSkyBlockLevelUp = true return false } - if (inSkyblockLevelUp) { + if (inSkyBlockLevelUp) { if (message == " §r§a§lREWARDS") return true // We don't care about extra health & strength healthPattern.matchMatcher(message) { 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 9dca6d59b..b98021f2f 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonChatFilter.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonChatFilter.kt @@ -12,7 +12,7 @@ class DungeonChatFilter { fun onChatMessage(event: LorenzChatEvent) { if (!LorenzUtils.onHypixel) return - // Workaround since the potion message gets always sent in that moment when skyblock is set as false + // Workaround since the potion message gets always sent in that moment when SkyBlock is set as false if (!LorenzUtils.inSkyBlock && !event.message.startsWith("§aYour active Potion Effects")) return if (!SkyHanniMod.feature.chat.dungeonMessages) return diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/diana/GriffinBurrowParticleFinder.kt b/src/main/java/at/hannibal2/skyhanni/features/event/diana/GriffinBurrowParticleFinder.kt index 0b7097091..31571b30b 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/event/diana/GriffinBurrowParticleFinder.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/event/diana/GriffinBurrowParticleFinder.kt @@ -53,7 +53,7 @@ class GriffinBurrowParticleFinder { // // @SubscribeEvent // fun onChatPacket(event: ReceiveParticleEvent) { -// if (!LorenzUtils.inSkyblock) return +// if (!LorenzUtils.inSkyBlock) return // if (!SkyHanniMod.feature.dev.debugEnabled) return // // val particleType = getParticleType(event) diff --git a/src/main/java/at/hannibal2/skyhanni/features/inventory/SkyBlockLevelGuideHelper.kt b/src/main/java/at/hannibal2/skyhanni/features/inventory/SkyBlockLevelGuideHelper.kt index 16df062f8..60c1a28de 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/inventory/SkyBlockLevelGuideHelper.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/SkyBlockLevelGuideHelper.kt @@ -11,7 +11,7 @@ import net.minecraft.client.gui.inventory.GuiChest import net.minecraft.inventory.ContainerChest import net.minecraftforge.fml.common.eventhandler.SubscribeEvent -class SkyblockLevelGuideHelper { +class SkyBlockLevelGuideHelper { @SubscribeEvent fun onBackgroundDrawn(event: GuiContainerEvent.BackgroundDrawnEvent) { diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/discordrpc/DiscordRPCManager.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/discordrpc/DiscordRPCManager.kt index 615559360..866e14a6e 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/discordrpc/DiscordRPCManager.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/discordrpc/DiscordRPCManager.kt @@ -152,7 +152,7 @@ object DiscordRPCManager : IPCListener { @SubscribeEvent fun onTick(event: LorenzTickEvent) { - if (startOnce || !isEnabled()) return // the mod has already started the connection process. this variable is my way of running a function when the player joins skyblock but only running it again once they join and leave. + if (startOnce || !isEnabled()) return // the mod has already started the connection process. this variable is my way of running a function when the player joins SkyBlock but only running it again once they join and leave. if (LorenzUtils.inSkyBlock) { start() startOnce = true diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/items/GlowingDroppedItems.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/items/GlowingDroppedItems.kt index 4e7afc376..ac83276a1 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/items/GlowingDroppedItems.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/items/GlowingDroppedItems.kt @@ -17,7 +17,7 @@ class GlowingDroppedItems { private val config get() = SkyHanniMod.feature.misc.glowingDroppedItems /** - * List of skyblock locations where we might see items in showcases + * List of SkyBlock locations where we might see items in showcases */ private val showcaseItemLocations = setOf( "The End", -- cgit