aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-04-03 23:00:02 +0200
committerLinnea Gräf <nea@nea.moe>2024-04-03 23:00:02 +0200
commit96dc1c62d23bb7c8f3c7314efe4bb02d652aa172 (patch)
treee831df1244b6ddbdec25da343789625b6916d335
parent0a2091f2c157399a6638da1775e978f8c6981130 (diff)
downloadFirmament-96dc1c62d23bb7c8f3c7314efe4bb02d652aa172.tar.gz
Firmament-96dc1c62d23bb7c8f3c7314efe4bb02d652aa172.tar.bz2
Firmament-96dc1c62d23bb7c8f3c7314efe4bb02d652aa172.zip
Fix size of spiders in mob viewer
-rw-r--r--src/main/kotlin/moe/nea/firmament/gui/entity/EntityRenderer.kt2
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,