mirror of
https://github.com/YouHaveTrouble/Stand-in.git
synced 2026-05-11 22:16:55 +00:00
save and persist the raw minimessage string for the display name
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user