We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b131e16 commit a321955Copy full SHA for a321955
nova/src/main/kotlin/xyz/xenondevs/nova/item/enchantment/EnchantmentCategory.kt
@@ -99,7 +99,10 @@ internal class VanillaEnchantmentCategory(
99
override val enchantments = ArrayList<Enchantment>()
100
101
init {
102
- for (ench in BuiltInRegistries.ENCHANTMENT) {
+ for ((key, ench) in BuiltInRegistries.ENCHANTMENT.entrySet()) {
103
+ if (key.location().namespace != "minecraft")
104
+ continue
105
+
106
if (ench.category == vanillaCategory)
107
enchantments.add(Enchantment.of(ench))
108
}
0 commit comments