Cleaning up and add name map.

This commit is contained in:
alexcrea 2024-06-16 10:16:52 +02:00
parent c7fee98d44
commit 27e8fb5719
No known key found for this signature in database
GPG key ID: 43FD265DB0DBF91F
4 changed files with 75 additions and 23 deletions

View file

@ -110,8 +110,7 @@ class EnchantConflictManager {
}
}
val enchantKey = NamespacedKey.minecraft(enchantName)
return WrappedEnchantment.getByKey(enchantKey)
return WrappedEnchantment.getByName(enchantName)
}