mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-12-12 15:07:22 +01:00
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:
parent
61ff16f21d
commit
54c9bfc968
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user