Closed SkyEye-FAST closed 1 year ago
在文件PlayerEventHandler.java中,死亡消息对应的键名似乎多接了一个.player。 这会导致出现语言文件中根本不存在的键名,似乎是source.msgId传回的参数本身已经带有.player。
PlayerEventHandler.java
.player
source.msgId
在已有测试中:
botapi.death.attack.mob.player
botapi.death.attack.arrow.player
botapi.death.attack.thorns.player
botapi.death.attack.trident.player
botapi.death.attack.fireball.player
botapi.death.attack.indirectMagic.player
botapi.death.attack.sonic_boom.player
重复.player的键名包括但不限于:
botapi.death.attack.player.player
botapi.death.attack.explosion.player.player
故得出结论,如果不符合实际情况请撤销此更改。
语言文件缺少1.19更新内容,并且存在大量与原版翻译不符的字符串。 故从1.19.3的语言文件中提取并更新了en_us.json和zh_cn.json。
en_us.json
zh_cn.json
另外,希望能编写一份详尽的安装教程或文档。 MCMOD上的安装教程已经过时。
另外,将文件中所有的I18a替换为I18n,这似乎是typo。
I18a
I18n
感谢pr :D
错误的死亡信息键名
在文件
PlayerEventHandler.java
中,死亡消息对应的键名似乎多接了一个.player
。 这会导致出现语言文件中根本不存在的键名,似乎是source.msgId
传回的参数本身已经带有.player
。在已有测试中:
botapi.death.attack.mob.player
botapi.death.attack.arrow.player
botapi.death.attack.thorns.player
botapi.death.attack.trident.player
botapi.death.attack.fireball.player
botapi.death.attack.indirectMagic.player
botapi.death.attack.sonic_boom.player
重复
.player
的键名包括但不限于:botapi.death.attack.player.player
botapi.death.attack.explosion.player.player
故得出结论,如果不符合实际情况请撤销此更改。
错误/缺失的语言文件字符串
语言文件缺少1.19更新内容,并且存在大量与原版翻译不符的字符串。 故从1.19.3的语言文件中提取并更新了
en_us.json
和zh_cn.json
。另外,希望能编写一份详尽的安装教程或文档。 MCMOD上的安装教程已经过时。