adibarra / enchant-tweaker

Tweak many enchantment related mechanics while keeping the vanilla minecraft feel.
https://modrinth.com/mod/enchant-tweaker
MIT License
4 stars 0 forks source link

bug: console messages display translation string #11

Closed mikkauwu closed 1 year ago

mikkauwu commented 1 year ago

What happened?

When only enchant-tweaker and fabric api are installed, chat messages will display in the console as chat.type.text/chat.display.admin/chat.display.announcement etc., preparing spawn displays as menu.preparingSpawn, and advancements as e.g. advancements.story.mine_stone.description.

What should have happened?

I expected to see the translated chat messages, spawn preparing messages, and advancements

How to reproduce?

  1. Install enchant-tweaker on a Fabric 1.20.1 server (+ fabric-api)
  2. Start server. When loading spawn, a bunch of menu.preparingSpawn messages are displayed instead of "Preparing spawn area: 0%"
  3. Use command say test in console, "chat.type.announcement" is displayed instead of "[Server] test"
  4. Use any command e.g. op mikkauwu, "commands.op.success" is displayed
  5. Talk in-game, messages will appear in console as "chat.type.text" instead of the actual message

What is the jar file name?

enchanttweaker-1.4.3+mc1.20-1.20.1.jar

What Minecraft version?

Fabric 1.20.1

Any relevant logs?

https://mclo.gs/iosCGTT

Anything else?

No response

Before submitting...

adibarra commented 1 year ago

Hello, unfortunately as far as I'm aware this seems to be a bug with MC in general. (Happens even with vanilla servers). It seems to be a somewhat rare bug though. I would recommend restarting the server until it works or perhaps recreating the server with the same world and config as it seems to be caused by missing translation files. You may be able to manually copy them over from a fresh install.

If you are able to replicate this consistently with a fresh install and EnchantTweaker please reopen the issue. Thanks!

mikkauwu commented 1 year ago

Hi, thank you for the response. This was happening in my main server so I individually tested all the mods, and removing EnchantTweaker fixed the problem. I created a completely fresh fabric server install to test with only EnchantTweaker +default config, and I had the same issue, which is why I thought it might be a problem with EnchantTweaker.

adibarra commented 1 year ago

Perfect. I'll start looking into fixing the issue then. Thanks for the report!

adibarra commented 1 year ago

Should be fixed now. It'll be included in the next update (v1.4.4).