Not sure what changed, but fixed slime height being wrong and throwing off name height. Or does this now break the calculated bounding box :D

This commit is contained in:
libraryaddict 2024-10-28 19:01:36 +13:00
parent 61ff16f21d
commit 54c9bfc968

View File

@ -49,7 +49,7 @@ public class MobDisguise extends TargetedDisguise {
if (getType() == DisguiseType.ARMOR_STAND) {
return (((ArmorStandWatcher) getWatcher()).isSmall() ? values.getBabyBox() : values.getAdultBox()).getY();
} else if (getType() == DisguiseType.SLIME || getType() == DisguiseType.MAGMA_CUBE) {
return 0.51 * (0.255 * ((SlimeWatcher) getWatcher()).getSize());
return 0.52 * (((SlimeWatcher) getWatcher()).getSize());
}
}