aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-03-23 14:39:21 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-03-23 14:39:21 +0100
commit1c39d8406fb1fa956b793d766c14de84025cf4ab (patch)
treecf3780716704309693ecd1d8609a9d37c08f5a44 /src/main/java/at/hannibal2/skyhanni
parent787dcfead2fb2aa84d42db2e4c4abd7ed4c44407 (diff)
downloadskyhanni-1c39d8406fb1fa956b793d766c14de84025cf4ab.tar.gz
skyhanni-1c39d8406fb1fa956b793d766c14de84025cf4ab.tar.bz2
skyhanni-1c39d8406fb1fa956b793d766c14de84025cf4ab.zip
Throw error if unknown render object
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/RenderUtils.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/RenderUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/RenderUtils.kt
index e7aa2b475..2697259dd 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/RenderUtils.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/RenderUtils.kt
@@ -520,7 +520,7 @@ object RenderUtils {
any.renderOnScreen(isX.toFloat(), isY.toFloat(), itemScale)
offsetX += 12
} else {
- println("unknown render object: $any")
+ throw RuntimeException("Unknown render object: $any")
}
}
}