Add setNameYModifier to change armorstand height

This commit is contained in:
libraryaddict
2022-02-18 04:31:44 +13:00
parent d4a18b3c11
commit bc277fe2f0
4 changed files with 26 additions and 4 deletions

View File

@@ -3022,7 +3022,7 @@ public class DisguiseUtilities {
}
// Don't need to offset with DisguiseUtilities.getYModifier, because that's a visual offset and not an actual location offset
double height = disguise.getHeight() + disguise.getWatcher().getYModifier();
double height = disguise.getHeight() + disguise.getWatcher().getYModifier() + disguise.getWatcher().getNameYModifier();
for (int i = 0; i < newNames.length; i++) {
if (i < internalOldNames.length) {