mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-26 16:40:55 +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())
|
.setPoseId(this.getPoseId())
|
||||||
.setBlockId(getScene().getId())
|
.setBlockId(getScene().getId())
|
||||||
.setBornType(MonsterBornType.MONSTER_BORN_TYPE_DEFAULT);
|
.setBornType(MonsterBornType.MONSTER_BORN_TYPE_DEFAULT);
|
||||||
|
if (metaMonster.special_name_id != 0) {
|
||||||
if (getMonsterData().getDescribeData() != null) {
|
monsterInfo.setTitleId(metaMonster.title_id)
|
||||||
|
.setSpecialNameId(metaMonster.special_name_id);
|
||||||
|
} else if (getMonsterData().getDescribeData() != null) {
|
||||||
monsterInfo.setTitleId(getMonsterData().getDescribeData().getTitleId())
|
monsterInfo.setTitleId(getMonsterData().getDescribeData().getTitleId())
|
||||||
.setSpecialNameId(getMonsterData().getSpecialNameId());
|
.setSpecialNameId(getMonsterData().getSpecialNameId());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user