fix minor error

This commit is contained in:
alexcrea 2026-01-17 01:21:30 +01:00 committed by alexcrea
parent a66206a52c
commit 4e15aab024

View file

@ -37,7 +37,7 @@ class EnchantConflictGroup(
private fun canBypassByAfterLevel(enchants: Map<CAEnchantment, Int>): Boolean {
// Either there no "conflict after"
if(conflictAfterLevel.isEmpty()) return false
if(conflictBeforeLevel.isEmpty()) return false
// Or we check if any conflict after enchantment is true
for (entry in conflictBeforeLevel) {