mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-24 00:26:16 +02:00
Create global and sub setting recipe config gui.
This commit is contained in:
parent
0004f2426f
commit
e440d05bb9
13 changed files with 613 additions and 180 deletions
|
|
@ -139,9 +139,9 @@ class EnchantConflictManager {
|
|||
|
||||
var result = ConflictType.NO_CONFLICT
|
||||
for (conflict in conflictList) {
|
||||
CustomAnvil.verboseLog("Is against ${conflict.name}")
|
||||
CustomAnvil.verboseLog("Is against ${conflict.getName()}")
|
||||
val conflicting = conflict.allowed(base, mat)
|
||||
CustomAnvil.verboseLog("Was against ${conflict.name} and conflicting: $conflicting ")
|
||||
CustomAnvil.verboseLog("Was against ${conflict.getName()} and conflicting: $conflicting ")
|
||||
if (!conflicting) {
|
||||
if (conflict.getEnchants().size <= 1) {
|
||||
result = ConflictType.SMALL_CONFLICT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue