You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description of issue:
The method boolean canApplyAtEnchantingTable(ItemStack stack, Enchantment enchantment) in ForgeItem can't be used usefully.
It provides an enchantment as parameter instead of an enchantment holder preventing to compare "easily" with an enchantment RK/RL.
Possible Solutions
Remove that method
Provide an enchantment holder as parameter (used in getAvailableEnchantmentResults() in EnchantmentHelper)
Minecraft Version: 1.21.1 -> 1.21.3
Forge Version: 52. to 53+
Description of issue:
The method boolean canApplyAtEnchantingTable(ItemStack stack, Enchantment enchantment) in ForgeItem can't be used usefully.
It provides an enchantment as parameter instead of an enchantment holder preventing to compare "easily" with an enchantment RK/RL.
Possible Solutions
Related Code
Thanks you for reading me.
The text was updated successfully, but these errors were encountered: