mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-30 00:23:57 +00:00
Fix boss name display. (#2111)
This commit is contained in:
parent
60eb62fa42
commit
4251b53d75
@ -238,8 +238,10 @@ public class EntityMonster extends GameEntity {
|
||||
.setPoseId(this.getPoseId())
|
||||
.setBlockId(getScene().getId())
|
||||
.setBornType(MonsterBornType.MONSTER_BORN_TYPE_DEFAULT);
|
||||
|
||||
if (getMonsterData().getDescribeData() != null) {
|
||||
if (metaMonster.special_name_id != 0) {
|
||||
monsterInfo.setTitleId(metaMonster.title_id)
|
||||
.setSpecialNameId(metaMonster.special_name_id);
|
||||
} else if (getMonsterData().getDescribeData() != null) {
|
||||
monsterInfo.setTitleId(getMonsterData().getDescribeData().getTitleId())
|
||||
.setSpecialNameId(getMonsterData().getSpecialNameId());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user