diff options
author | Linnea Gräf <nea@nea.moe> | 2024-04-03 23:00:02 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-04-03 23:00:02 +0200 |
commit | 96dc1c62d23bb7c8f3c7314efe4bb02d652aa172 (patch) | |
tree | e831df1244b6ddbdec25da343789625b6916d335 /src/main | |
parent | 0a2091f2c157399a6638da1775e978f8c6981130 (diff) | |
download | firmament-96dc1c62d23bb7c8f3c7314efe4bb02d652aa172.tar.gz firmament-96dc1c62d23bb7c8f3c7314efe4bb02d652aa172.tar.bz2 firmament-96dc1c62d23bb7c8f3c7314efe4bb02d652aa172.zip |
Fix size of spiders in mob viewer
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/gui/entity/EntityRenderer.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/gui/entity/EntityRenderer.kt b/src/main/kotlin/moe/nea/firmament/gui/entity/EntityRenderer.kt index d645e5b..65b5d7d 100644 --- a/src/main/kotlin/moe/nea/firmament/gui/entity/EntityRenderer.kt +++ b/src/main/kotlin/moe/nea/firmament/gui/entity/EntityRenderer.kt @@ -136,7 +136,7 @@ object EntityRenderer { posY, posX + 50, posY + 80, - (2F / maxSize * 30).toInt(), + (minOf(2F / maxSize, 1F) * 30).toInt(), -bottomOffset, mouseX, mouseY, |