I have:
onAuthSuccess(player: RpgPlayer) {
player.setComponentsTop(Components.text('{name}'))
player.setActor(WarriorActor);
}
I use title-screen
plugin and without setting actor everything works fine
but when I add this the name of the actor is displayed eg. Warrior
and if the Actor decorator is without a name then no name is displayed over the player.
Is it the desired behavior? I think the setting actor shouldn't change the name of the player 🤔