aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/events
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2025-01-12 14:18:12 +0100
committerLinnea Gräf <nea@nea.moe>2025-01-12 14:18:12 +0100
commit29bdb00b7f22cf3de58fda23459b65740199e278 (patch)
tree550d081eccb72c144563b0aa5b243e944a84643f /src/main/kotlin/events
parentecc09597692421d677be9745778554b57f08488b (diff)
downloadFirmament-29bdb00b7f22cf3de58fda23459b65740199e278.tar.gz
Firmament-29bdb00b7f22cf3de58fda23459b65740199e278.tar.bz2
Firmament-29bdb00b7f22cf3de58fda23459b65740199e278.zip
fix: Tooltips of other fabric mods not being displayed in REI
Diffstat (limited to 'src/main/kotlin/events')
-rw-r--r--src/main/kotlin/events/FirmamentEventBus.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/kotlin/events/FirmamentEventBus.kt b/src/main/kotlin/events/FirmamentEventBus.kt
index 71331d1..af4e16a 100644
--- a/src/main/kotlin/events/FirmamentEventBus.kt
+++ b/src/main/kotlin/events/FirmamentEventBus.kt
@@ -3,6 +3,7 @@ package moe.nea.firmament.events
import java.util.concurrent.CopyOnWriteArrayList
import org.apache.commons.lang3.reflect.TypeUtils
import moe.nea.firmament.Firmament
+import moe.nea.firmament.util.ErrorUtil
import moe.nea.firmament.util.MC
/**
@@ -48,7 +49,7 @@ open class FirmamentEventBus<T : FirmamentEvent> {
val klass = e.javaClass
if (!function.knownErrors.contains(klass) || Firmament.DEBUG) {
function.knownErrors.add(klass)
- Firmament.logger.error("Caught exception during processing event $event by $function", e)
+ ErrorUtil.softError("Caught exception during processing event $event by $function", e)
}
}
}