aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/test/command/ErrorManager.kt5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/test/command/ErrorManager.kt b/src/main/java/at/hannibal2/skyhanni/test/command/ErrorManager.kt
index 7196dda72..9d3a6f4c9 100644
--- a/src/main/java/at/hannibal2/skyhanni/test/command/ErrorManager.kt
+++ b/src/main/java/at/hannibal2/skyhanni/test/command/ErrorManager.kt
@@ -20,6 +20,7 @@ object ErrorManager {
private val breakAfter = listOf(
"at at.hannibal2.skyhanni.config.commands.Commands\$createCommand",
"at net.minecraftforge.fml.common.eventhandler.EventBus.post",
+ "at at.hannibal2.skyhanni.mixins.hooks.NetHandlerPlayClientHookKt.onSendPacket",
)
private val replace = mapOf(
@@ -45,7 +46,7 @@ object ErrorManager {
"at at.hannibal2.skyhanni.config.commands.SimpleCommand.",
"at at.hannibal2.skyhanni.config.commands.Commands\$createCommand\$1.processCommand",
"at at.hannibal2.skyhanni.test.command.ErrorManager.logError",
- "at at.hannibal2.skyhanni.events.LorenzEvent.postAndCatchAndBlock",
+ "at at.hannibal2.skyhanni.events.LorenzEvent.postAndCatch",
"at net.minecraft.launchwrapper.",
)
@@ -184,7 +185,6 @@ object ErrorManager {
for (traceElement in stackTrace) {
val text = "\tat $traceElement"
if (!fullStackTrace && text in parent) {
- println("broke at: $text")
break
}
var visualText = text
@@ -194,6 +194,7 @@ object ErrorManager {
}
}
if (!fullStackTrace && breakAfter.any { text.contains(it) }) {
+ add(visualText)
break
}
if (ignored.any { text.contains(it) }) continue