diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-09-14 12:19:56 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-09-14 12:19:56 +0200 |
commit | 6bf8f7b9e251b814bbb3cb8e0b786eabe4a7b358 (patch) | |
tree | 7a976fb506b61d929e601d265871285432cb120d /src/main/java | |
parent | 587279de1d320acb3c4093de9384ef07786be553 (diff) | |
download | skyhanni-6bf8f7b9e251b814bbb3cb8e0b786eabe4a7b358.tar.gz skyhanni-6bf8f7b9e251b814bbb3cb8e0b786eabe4a7b358.tar.bz2 skyhanni-6bf8f7b9e251b814bbb3cb8e0b786eabe4a7b358.zip |
Fixed typos in the word SkyBlock
Diffstat (limited to 'src/main/java')
13 files changed, 21 insertions, 21 deletions
diff --git a/src/main/java/SkyHanniInstallerFrame.java b/src/main/java/SkyHanniInstallerFrame.java index 878d2a0d2..4863f8619 100644 --- a/src/main/java/SkyHanniInstallerFrame.java +++ b/src/main/java/SkyHanniInstallerFrame.java @@ -435,18 +435,18 @@ public class SkyHanniInstallerFrame extends JFrame implements ActionListener, Mo boolean deletingFailure = false; if (modsFolder.isDirectory()) { // Delete in this current folder. - boolean failed = findSkyblockAddonsAndDelete(modsFolder.listFiles()); + boolean failed = findSkyHanniAndDelete(modsFolder.listFiles()); if (failed) deletingFailure = true; } if (inSubFolder) { // We are in the 1.8.9 folder, delete in the parent folder as well. if (modsFolder.getParentFile().isDirectory()) { - boolean failed = findSkyblockAddonsAndDelete(modsFolder.getParentFile().listFiles()); + boolean failed = findSkyHanniAndDelete(modsFolder.getParentFile().listFiles()); if (failed) deletingFailure = true; } } else { // We are in the main mods folder, but the 1.8.9 subfolder exists... delete in there too. File subFolder = new File(modsFolder, "1.8.9"); if (subFolder.exists() && subFolder.isDirectory()) { - boolean failed = findSkyblockAddonsAndDelete(subFolder.listFiles()); + boolean failed = findSkyHanniAndDelete(subFolder.listFiles()); if (failed) deletingFailure = true; } } @@ -471,7 +471,7 @@ public class SkyHanniInstallerFrame extends JFrame implements ActionListener, Mo } } - private boolean findSkyblockAddonsAndDelete(File[] files) { + private boolean findSkyHanniAndDelete(File[] files) { if (files == null) return false; for (File file : files) { diff --git a/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt b/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt index db3c23db6..4bb551f87 100644 --- a/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt +++ b/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt @@ -271,7 +271,7 @@ class SkyHanniMod { loadModule(FishingTimer()) loadModule(CrimsonIsleReputationHelper(this)) loadModule(SharkFishCounter()) - loadModule(SkyblockLevelGuideHelper()) + loadModule(SkyBlockLevelGuideHelper()) loadModule(OdgerWaypoint()) loadModule(TiaRelayHelper()) loadModule(TiaRelayWaypoints()) diff --git a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt index 04eee744b..c82a7a46d 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt +++ b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt @@ -300,7 +300,7 @@ object Commands { @JvmStatic fun openFortuneGuide() { if (!LorenzUtils.inSkyBlock) { - LorenzUtils.chat("§cJoin Skyblock to open the fortune guide!") + LorenzUtils.chat("§cJoin SkyBlock to open the fortune guide!") } else { CaptureFarmingGear.captureFarmingGear() SkyHanniMod.screenToOpen = FFGuideGUI() diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java index 7548935ee..39c79b509 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java @@ -366,7 +366,7 @@ public class MiscConfig { "Bits", "Stats", "Held Item", - "Skyblock Date", + "SkyBlock Date", "Profile", "Slayer", "Custom", @@ -385,7 +385,7 @@ public class MiscConfig { "Bits", "Stats", "Held Item", - "Skyblock Date", + "SkyBlock Date", "Profile", "Slayer", "Custom", @@ -409,7 +409,7 @@ public class MiscConfig { "Bits", "Stats", "Held Item", - "Skyblock Date", + "SkyBlock Date", "Profile", "Slayer", "Custom", diff --git a/src/main/java/at/hannibal2/skyhanni/data/MayorElection.kt b/src/main/java/at/hannibal2/skyhanni/data/MayorElection.kt index 0681b8632..2508391d9 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/MayorElection.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/MayorElection.kt @@ -58,7 +58,7 @@ class MayorElection { private fun checkCurrentMayor() { var currentYear = SkyBlockTime.now().year - // The time in the current skyblock year when the election circle will restart + // The time in the current SkyBlock year when the election circle will restart val month = 3 // Late Spring val nextMayorTime = SkyBlockTime(currentYear, month, day = 27).toMillis() 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",
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/EntityOutlineRenderer.kt b/src/main/java/at/hannibal2/skyhanni/utils/EntityOutlineRenderer.kt index 6ce9e4b38..d290d540b 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/EntityOutlineRenderer.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/EntityOutlineRenderer.kt @@ -220,7 +220,7 @@ object EntityOutlineRenderer { */ @JvmStatic fun shouldRenderEntityOutlines(): Boolean { - // Skyblock Conditions + // SkyBlock Conditions if (!LorenzUtils.inSkyBlock) { return false } |