save and persist the raw minimessage string for the display name

This commit is contained in:
2025-11-24 23:30:49 +01:00
parent 0261b0ceae
commit ed7653aa66
3 changed files with 8 additions and 5 deletions
@@ -28,6 +28,7 @@ public class ArmorStandToMannequinConverter implements EntityConverter<ArmorStan
try {
return from.getWorld().spawn(from.getLocation(), Mannequin.class, (mannequin -> {
mannequin.customName(from.customName());
EntityConverter.saveRawEntityName(mannequin, EntityConverter.getRawEntityName(from));
mannequin.setImmovable(!from.canMove());
mannequin.setGravity(from.hasGravity());
for (EquipmentSlot slot : EquipmentSlot.values()) {