Add forgoten return on conflicting enchantment on same level

This commit is contained in:
alexcrea 2024-11-05 18:33:16 +01:00
parent 1a8a6b2dc5
commit 798d6806ff
No known key found for this signature in database
GPG key ID: 43FD265DB0DBF91F

View file

@ -74,6 +74,7 @@ object EnchantmentUtil {
if(conflictType != ConflictType.NO_CONFLICT){
CustomAnvil.verboseLog(
"Enchantment already in result list, and they are conflicting (${enchantment.key}, conflict: $conflictType)")
return@forEach
}
}