diff --git a/build.gradle.kts b/build.gradle.kts index 64393c4..28cfc3d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -4,7 +4,7 @@ plugins { } group = "io.delilaheve" -version = "1.1.0" +version = "1.1.2" repositories { mavenCentral() diff --git a/src/main/resources/enchant_conflict.yml b/src/main/resources/enchant_conflict.yml index c8883cf..4bbbf49 100644 --- a/src/main/resources/enchant_conflict.yml +++ b/src/main/resources/enchant_conflict.yml @@ -5,7 +5,7 @@ # - the conflict will count only if the user try to combine at least as # many conflicting enchantment as "maxEnchantmentBeforeConflict" # - +# # ---------------------------------------------------- # These restriction are about not allowing enchantment # on illegal items @@ -169,7 +169,7 @@ restriction_unbreaking: # ---------------------------------------------------- # Now we have conflicts about enchantment Incompatibility # We just filtered what item enchantments can be applied -# We will now will use enchanted_book as notAffectedGroups +# notAffectedGroups is empty as we don't want anything to not respect theses rules # maxEnchantmentBeforeConflict is set to 1 to only have 1 on those enchantment available # ---------------------------------------------------- @@ -178,7 +178,7 @@ sword_enchant_conflict: - bane_of_arthropods - smite - sharpness - notAffectedGroups: [enchanted_book] + notAffectedGroups: [] maxEnchantmentBeforeConflict: 1 protection_enchant_conflict: @@ -187,48 +187,48 @@ protection_enchant_conflict: - fire_protection - projectile_protection - protection - notAffectedGroups: [enchanted_book] + notAffectedGroups: [] maxEnchantmentBeforeConflict: 1 trident_conflict1: enchantments: - channeling - riptide - notAffectedGroups: [enchanted_book] + notAffectedGroups: [] maxEnchantmentBeforeConflict: 1 trident_conflict2: enchantments: - loyalty - riptide - notAffectedGroups: [enchanted_book] + notAffectedGroups: [] maxEnchantmentBeforeConflict: 1 boot_conflict: enchantments: - depth_strider - frost_walker - notAffectedGroups: [enchanted_book] + notAffectedGroups: [] maxEnchantmentBeforeConflict: 1 tool_conflict: enchantments: - fortune - silk_touch - notAffectedGroups: [enchanted_book] + notAffectedGroups: [] maxEnchantmentBeforeConflict: 1 bow_conflict: enchantments: - mending - infinity - notAffectedGroups: [enchanted_book] + notAffectedGroups: [] maxEnchantmentBeforeConflict: 1 crossbow_conflict: enchantments: - multishot - piercing - notAffectedGroups: [enchanted_book] + notAffectedGroups: [] maxEnchantmentBeforeConflict: 1 diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 3348a47..1128c02 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,7 +1,7 @@ main: io.delilaheve.UnsafeEnchants name: UnsafeEnchantsPlus prefix: UnsafeEnchants+ -version: 1.1.0 +version: 1.1.2 description: Allow custom illegal enchantment api-version: 1.18 load: POSTWORLD