mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 16:16:17 +02:00
Rework the conflict system to be mostly handled by the enchantment.
This commit is contained in:
parent
b7fda4dece
commit
fa4752ea67
4 changed files with 69 additions and 28 deletions
|
|
@ -55,7 +55,7 @@ object EnchantmentUtil {
|
|||
}
|
||||
// Enchantment already in result list
|
||||
else {
|
||||
val oldLevel = this[enchantment]!! // <- should not be null. see the comment above
|
||||
val oldLevel = this[enchantment]!! // <- should not be null. (enchantment already in result list)
|
||||
|
||||
// ... and they are conflicting
|
||||
val conflictType =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue