DisplayName does not follow mounted mobs with disguises
When custom mobs use a player disguise the mobs display name does not follow the mob if it is mounted.
here is an image of the issue:
Here is the process I used to make this mob:
/savedisguise SpearBandit player <inherit> setSkin spearman.png setDynamicName true setItemInMainHand iron_sword{CustomModelData:10} setHelmet air
to make its disguise
SpearBandit:
Type: Vindicator
Options:
PreventOtherDrops: true
AlwaysShowName: false
Display: "Bandit Spearman"
Health: 30
Damage: 5
Mount: BanditHorse
AlwaysShowName: true
Equiptment:
- IRON_SWORD HAND
- AIR HEAD
Drops:
- COOKED_BEEF 1to3 0.2
- spear 1 0.2
Disguise: SpearBandit
Modules:
ThreatTable: true
Skills:
#- mount{t=BanditHorse} @self ~onSpawn
- skill{s=ReachAttack} @target ~onAttack
BanditHorse:
Type: Horse
Options:
Saddled: True
HorseArmor: iron
MovementSpeed: 0.4
PreventOtherDrops: true