From fffeba72086c751b612e830c5c7ce23daaf5f847 Mon Sep 17 00:00:00 2001 From: alexcrea Date: Sat, 17 Jan 2026 01:21:30 +0100 Subject: [PATCH] fix minor error --- .../kotlin/xyz/alexcrea/cuanvil/group/EnchantConflictGroup.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/xyz/alexcrea/cuanvil/group/EnchantConflictGroup.kt b/src/main/kotlin/xyz/alexcrea/cuanvil/group/EnchantConflictGroup.kt index fd1ea8c..dda6d49 100644 --- a/src/main/kotlin/xyz/alexcrea/cuanvil/group/EnchantConflictGroup.kt +++ b/src/main/kotlin/xyz/alexcrea/cuanvil/group/EnchantConflictGroup.kt @@ -37,7 +37,7 @@ class EnchantConflictGroup( private fun canBypassByAfterLevel(enchants: Map): 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) {