From dc228c3f8f8152f535e116794a4a1aa5c31370ba Mon Sep 17 00:00:00 2001 From: Auxilor Date: Mon, 5 Sep 2022 16:47:21 +0100 Subject: [PATCH] Various improvements --- .../com/willfp/ecoenchants/enchants/impl/EnchantmentRapid.kt | 2 +- eco-core/core-plugin/src/main/resources/config.yml | 2 +- eco-core/core-plugin/src/main/resources/enchants/confusion.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/impl/EnchantmentRapid.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/impl/EnchantmentRapid.kt index 99048df2..10f1ff0f 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/impl/EnchantmentRapid.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/impl/EnchantmentRapid.kt @@ -24,7 +24,7 @@ class EnchantmentRapid( private val enchant: EcoEnchant ) : Listener { @EventHandler( - priority = EventPriority.HIGH, + priority = EventPriority.LOW, ignoreCancelled = true ) fun handle(event: EntityShootBowEvent) { diff --git a/eco-core/core-plugin/src/main/resources/config.yml b/eco-core/core-plugin/src/main/resources/config.yml index 91a74e67..e09d4a5b 100644 --- a/eco-core/core-plugin/src/main/resources/config.yml +++ b/eco-core/core-plugin/src/main/resources/config.yml @@ -68,7 +68,7 @@ display: descriptions: enabled: true # If enchantment descriptions should be shown in lore threshold: 5 # Above this amount, enchantment descriptions will not be shown - word-wrap: 40 # Number of characters to have on each line + word-wrap: 32 # Number of characters to have on each line format: "&8" # Options for the /enchantinfo GUI diff --git a/eco-core/core-plugin/src/main/resources/enchants/confusion.yml b/eco-core/core-plugin/src/main/resources/enchants/confusion.yml index d5b19f02..faff5ed0 100644 --- a/eco-core/core-plugin/src/main/resources/enchants/confusion.yml +++ b/eco-core/core-plugin/src/main/resources/enchants/confusion.yml @@ -1,7 +1,7 @@ display-name: "Confusion" description: "&a%placeholder%% &rchance to shuffle your opponents hotbar" placeholder: "2 * %level%" -type: Special +type: special targets: - sword