diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-03-23 14:39:21 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-03-23 14:39:21 +0100 |
commit | 1c39d8406fb1fa956b793d766c14de84025cf4ab (patch) | |
tree | cf3780716704309693ecd1d8609a9d37c08f5a44 /src/main/java/at/hannibal2/skyhanni/utils | |
parent | 787dcfead2fb2aa84d42db2e4c4abd7ed4c44407 (diff) | |
download | skyhanni-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/utils')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/RenderUtils.kt | 2 |
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") } } } |