aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/utils
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-01-07 02:32:01 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-01-07 02:32:01 +0100
commitf41540169f5e6508d32b504f98a0cde2cbd930f8 (patch)
tree26dd5f8b646add4ba40af0816d4373229822e889 /src/main/java/at/hannibal2/skyhanni/utils
parent518e57a874a365883fc755655d78b0981076ffe1 (diff)
downloadSkyHanni-f41540169f5e6508d32b504f98a0cde2cbd930f8.tar.gz
SkyHanni-f41540169f5e6508d32b504f98a0cde2cbd930f8.tar.bz2
SkyHanni-f41540169f5e6508d32b504f98a0cde2cbd930f8.zip
Renamed hypixel and skyblock.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt10
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/MinecraftConsoleFilter.kt2
2 files changed, 6 insertions, 6 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt
index f6e2e319c..4d0c5a2ff 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt
@@ -14,14 +14,14 @@ import java.text.SimpleDateFormat
object LorenzUtils {
- val isOnHypixel: Boolean
+ val isHyPixel: Boolean
get() = HypixelData.hypixel && Minecraft.getMinecraft().thePlayer != null
- val inSkyblock: Boolean
- get() = isOnHypixel && HypixelData.skyblock
+ val inSkyBlock: Boolean
+ get() = isHyPixel && HypixelData.skyBlock
val inDungeons: Boolean
- get() = inSkyblock && DungeonData.inDungeon()
+ get() = inSkyBlock && DungeonData.inDungeon()
val skyBlockIsland: String
get() = HypixelData.skyBlockIsland
@@ -37,7 +37,7 @@ object LorenzUtils {
get() = HypixelData.noTrade
val isBingoProfile: Boolean
- get() = inSkyblock && HypixelData.bingo
+ get() = inSkyBlock && HypixelData.bingo
const val DEBUG_PREFIX = "[SkyHanni Debug] ยง7"
private val log = LorenzLogger("chat/mod_sent")
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/MinecraftConsoleFilter.kt b/src/main/java/at/hannibal2/skyhanni/utils/MinecraftConsoleFilter.kt
index 9882f8578..1036dab62 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/MinecraftConsoleFilter.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/MinecraftConsoleFilter.kt
@@ -158,7 +158,7 @@ class MinecraftConsoleFilter(private val loggerConfigName: String) : Filter {
}
if (!SkyHanniMod.feature.dev.printUnfilteredDebugs) return Filter.Result.ACCEPT
- if (!SkyHanniMod.feature.dev.printUnfilteredDebugsOutsideSkyBlock && !LorenzUtils.inSkyblock) return Filter.Result.ACCEPT
+ if (!SkyHanniMod.feature.dev.printUnfilteredDebugsOutsideSkyBlock && !LorenzUtils.inSkyBlock) return Filter.Result.ACCEPT
if (formattedMessage == "filtered console: ") return Filter.Result.ACCEPT
debug(" ")