Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] 未使用正確的翻譯鍵 #32

Open
EvanHsieh0415 opened this issue Nov 5, 2024 · 0 comments
Open

[Bug] 未使用正確的翻譯鍵 #32

EvanHsieh0415 opened this issue Nov 5, 2024 · 0 comments

Comments

@EvanHsieh0415
Copy link

如圖所示,相關代碼為 io.github.prismwork.emitrades.recipe.VillagerTrade#L52-L53

  1. 非原版的村民職業翻譯鍵為 entity.minecraft.village.{namespace}.{id},原版的則為 entity.minecraft.village.{id}
    在此基礎上並未對非原版的職業做處理;
  2. 後面的職業等級可以直接使用原版的翻譯鍵,即 merchant.level.{profile.level()}
    故可刪除內置的 emi.emitrades.profession.lvl.{profile.level()}

img.0bade266-4eb4-4cf1-b789-4deec896b819

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant