Auxilor / EcoEnchants

Custom Enchantments Plugin for the latest minecraft version
GNU General Public License v3.0
262 stars 160 forks source link

Fix Conflict and Add Anvil Combining Rule #392

Open TiaTheFairy opened 4 months ago

TiaTheFairy commented 4 months ago

Fix Conflict With Everything tag not working

Add an option to stop applying over-max-level items/books to left item on anvil. Currently, although you can't combine two Protection 4 to Protection 5. But you can still apply Protection 5 on right item to left item on anvil. This patch add a config to disallow players apply over-max-level enchantment on right item to left item. Should be useful if server owner want players to apply over-max-level enchantments in other plugins. This is config optional.

Update paperweight to 1.7.1 from 1.6.2

TiaTheFairy commented 4 months ago

AnvilSupport.kt Line226 should be :

if(!plugin.configYml.getBool("anvil.allow-apply-over-level-enchantment"))

A ! is missing, please edit it.