diff --git a/common/src/main/kotlin/fr/username404/snowygui/gui/Element.kt b/common/src/main/kotlin/fr/username404/snowygui/gui/Element.kt index cfa9e86..9310315 100644 --- a/common/src/main/kotlin/fr/username404/snowygui/gui/Element.kt +++ b/common/src/main/kotlin/fr/username404/snowygui/gui/Element.kt @@ -21,7 +21,7 @@ abstract class Element( render(stack) } catch (t: Throwable) { with(Snowy.logs) { - error("An element from snowy threw an error: \n$t") + error("An element from snowy threw an error: \n\t$t") warn("Rendering of snowy UI elements will now be disabled to avoid further errors.") caughtError = true }