mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 16:16:17 +02:00
Cleaning up and add name map.
This commit is contained in:
parent
c7fee98d44
commit
27e8fb5719
4 changed files with 75 additions and 23 deletions
|
|
@ -110,8 +110,7 @@ class EnchantConflictManager {
|
|||
}
|
||||
}
|
||||
|
||||
val enchantKey = NamespacedKey.minecraft(enchantName)
|
||||
return WrappedEnchantment.getByKey(enchantKey)
|
||||
return WrappedEnchantment.getByName(enchantName)
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue