Fix NPC hitbox scaling for large sizes

This commit is contained in:
Kam committed 2025-10-20 14:41:45 -04:00
1 parent 111f16647d
commit 3d9b54ef5b
6 files changed
+70 -41

No files matched your search

@@ -17,8 +17,10 @@ public class EntityNpcSlime extends EntityNPCInterface {
@Override
public void updateHitbox() {
width = 0.8f;
height = 0.8f;
setSize(0.8f, 0.8f);
if (width / 2 > World.MAX_ENTITY_RADIUS) {
World.MAX_ENTITY_RADIUS = width / 2;
}
}
@Override