The enchantment category set in RailcraftToolEnchantment is EnchantmentCategory.DIGGER, but these enchantments are not applicable to digger-type tools. This causes issues for code that accesses the category for any reason. The category should be updated to utilize a new custom category reflective of the actual tool types the enchantment can apply to.
Is there an existing issue for this?
Description of the Bug
The enchantment category set in
RailcraftToolEnchantment
isEnchantmentCategory.DIGGER
, but these enchantments are not applicable to digger-type tools. This causes issues for code that accesses the category for any reason. The category should be updated to utilize a new custom category reflective of the actual tool types the enchantment can apply to.Railcraft Reborn version
1.0.9
NeoForge/Forge version
47.2.0
Minecraft version
1.20.1
Minecraft server
Yes
To Reproduce
n/a
Expected behavior
n/a
Logs & Environment
No response
Screenshots & Video
No response