XP Values of 0 Should Not Be Shown
SomewhatDamaged opened this issue ยท 0 comments
Describe the bug
When an item has a crafting
XP value of 0
it is shown as Crafting: 0
Expected behavior
A clear and concise description of what you expected to happen.
To Reproduce
Steps to reproduce the behavior:
- Make a disabler datapack
- Add an item to it
- Make it
{"xp_values":{"CRAFT":{"crafting":0}}}
- See screenshot
Versions:
- Minecraft: 1.19.2
- Loader: Forge-43.2.4
- PMMO: 1.19-3.0.2
Additional context
Probably should be part of every tooltip generation code to ignore a value of 0