mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 16:16:17 +02:00
Add forgoten return on conflicting enchantment on same level
This commit is contained in:
parent
1a8a6b2dc5
commit
798d6806ff
1 changed files with 1 additions and 0 deletions
|
|
@ -74,6 +74,7 @@ object EnchantmentUtil {
|
||||||
if(conflictType != ConflictType.NO_CONFLICT){
|
if(conflictType != ConflictType.NO_CONFLICT){
|
||||||
CustomAnvil.verboseLog(
|
CustomAnvil.verboseLog(
|
||||||
"Enchantment already in result list, and they are conflicting (${enchantment.key}, conflict: $conflictType)")
|
"Enchantment already in result list, and they are conflicting (${enchantment.key}, conflict: $conflictType)")
|
||||||
|
return@forEach
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue