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

Crashes when loading conflicting translation keys #78

Closed
3 tasks done
axieum opened this issue Jun 10, 2023 · 0 comments · Fixed by #80
Closed
3 tasks done

Crashes when loading conflicting translation keys #78

axieum opened this issue Jun 10, 2023 · 0 comments · Fixed by #80
Assignees
Labels
bug Something isn't working minecord-api Improvements or additions to the api module

Comments

@axieum
Copy link
Owner

axieum commented Jun 10, 2023

Expected behavior

For modded translation files that overwrite existing keys to be loaded successfully.

Observed/actual behavior

Multiple entries with same key: entity.minecraft.villager.none=Unemployed and entity.minecraft.villager.none=Villager

It appears that Fabric API is now loading en_us.json from mod containers here:

FabricMC/fabric@40630ee

Steps/models to reproduce

Install a mod that adds translations and boot the server.

Version

v2.0.0+1.20

Agreements

  • I am running the latest version of the mod.
  • My version of Minecraft is supported.
  • I have searched for and ensured there isn't already an open issue regarding this.

Other

No response

@axieum axieum self-assigned this Jun 10, 2023
@axieum axieum added bug Something isn't working minecord-api Improvements or additions to the api module labels Jun 10, 2023
@axieum axieum closed this as completed in d6614bd Jun 10, 2023
axieum added a commit that referenced this issue Jun 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working minecord-api Improvements or additions to the api module
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant