优化装备等级

This commit is contained in:
liwei1dao 2022-11-02 10:17:45 +08:00
parent ca3bd970c0
commit f2ba62ab0d

View File

@ -73,7 +73,7 @@ func (this *configureComp) getHeroConfig(id string) (result *cfg.GameHeroData, e
this.module.Errorln(err)
} else {
if result, ok = v.(*cfg.GameHero).GetDataMap()[id]; !ok {
err = fmt.Errorf("on found getHeroConfig:%d", id)
err = fmt.Errorf("on found getHeroConfig:%s", id)
this.module.Errorln(err)
}
}