1
0
Fork 0
mirror of https://github.com/haselkern/Minecraft-ArmorStand.git synced 2025-12-03 06:24:07 +00:00

Rotation now always requires yaw and pitch

This commit is contained in:
Lenny Lord 2025-11-20 01:18:36 +05:30 committed by thelennylord
parent d51acd0135
commit edc9abf002

View file

@ -596,7 +596,7 @@ function generateCode() {
Small: small || null, Small: small || null,
Marker: marker || null, Marker: marker || null,
Rotation: (rotation != 0) ? [ new NBTFloat(rotation) ] : null, Rotation: (rotation != 0) ? [ new NBTFloat(rotation), new NBTFloat(0) ] : null,
CustomNameVisible: showCustomName || null, CustomNameVisible: showCustomName || null,
CustomName: (customName) ? generateCustomName() : null, CustomName: (customName) ? generateCustomName() : null,