aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLorenz <ESs95s3P5z8Pheb>2022-07-15 00:58:33 +0200
committerLorenz <ESs95s3P5z8Pheb>2022-07-15 00:58:33 +0200
commit9741f2d5887b72b05f40eabbf05ad021962d1a16 (patch)
treef6f123584785e5a0e4f32d11a89f34cddb94860c /src
parent3667f62465316ecca134de519700045834d4676f (diff)
downloadskyhanni-9741f2d5887b72b05f40eabbf05ad021962d1a16.tar.gz
skyhanni-9741f2d5887b72b05f40eabbf05ad021962d1a16.tar.bz2
skyhanni-9741f2d5887b72b05f40eabbf05ad021962d1a16.zip
code cleanup
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/Features.java1
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/Features.java b/src/main/java/at/hannibal2/skyhanni/config/Features.java
index 8c40004fd..57c25865f 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/Features.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/Features.java
@@ -256,7 +256,6 @@ public class Features {
@ConfigOption(name = "Hide Bronze Duplicates", desc = "Hide duplicate messages for bronze trophy fishes from chat.")
@ConfigEditorBoolean
public boolean trophyFishBronzeHider = false;
-
}
public static class Misc {
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt
index 13afe8ac2..d29cbee71 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt
@@ -21,6 +21,7 @@ object LorenzUtils {
get() = HypixelData.hypixel && HypixelData.skyblock && HypixelData.dungeon
const val DEBUG_PREFIX = "[Debug] ยง7"
+ private val log = LorenzLogger("chat/mod_sent")
fun debug(message: String) {
internalChat(DEBUG_PREFIX + message)
@@ -39,6 +40,7 @@ object LorenzUtils {
}
private fun internalChat(message: String) {
+ log.log(message)
val minecraft = Minecraft.getMinecraft()
if (minecraft == null) {
println(message)