Recipe type has 'null' as a display name
martinbrom opened this issue · 3 comments
❗ Checklist
- I am using the official english version of Slimefun and did not modify the jar.
- I am using an up to date "DEV" (not "RC") version of Slimefun.
- I am aware that issues related to Slimefun addons need to be reported on their bug trackers and not here.
- I searched for similar open issues and could not find an existing bug report on this.
📍 Description
When using any other language than English, some of the recipes in item detail (in the survival guide) have null
as the item display name. The problem is probably caused by the recipe not looking for a fallback if the translation does not exist.
📑 Reproduction Steps
- Open Slimefun guide
- Change language to a different language than English (reproducible with Czech)
- Open the recipe for Damascus Steel Helmet (for example)
- See the display name of the anvil is
null
💡 Expected Behavior
The display name is not null
. It is either the correct translation (unavailable at the time of writing) or the fallback English name.
📷 Screenshots / Videos
📜 Server Log
No errors
📂 /error-reports/
folder
No errors
💻 Server Software
Paper
🎮 Minecraft Version
1.16.x
⭐ Slimefun version
🧭 Other plugins
No response
@WalshyDev didn't you fixed this on #2956?
Seems that was for getMessage
, this is a different part of the same class. I might just give the whole class a little cleanup.