fix minor error

This commit is contained in:
alexcrea 2026-01-17 01:21:30 +01:00
parent cbe535f8c5
commit fffeba7208
Signed by: alexcrea
GPG key ID: E346CD16413450E3

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) {