From 96dc1c62d23bb7c8f3c7314efe4bb02d652aa172 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Wed, 3 Apr 2024 23:00:02 +0200 Subject: Fix size of spiders in mob viewer --- src/main/kotlin/moe/nea/firmament/gui/entity/EntityRenderer.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/kotlin') 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, -- cgit