Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Conflict and Add Anvil Combining Rule #392

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

TiaTheFairy
Copy link

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 TiaTheFairy requested a review from WillFP as a code owner June 5, 2024 01:53
@TiaTheFairy TiaTheFairy closed this Jun 5, 2024
@TiaTheFairy
Copy link
Author

AnvilSupport.kt Line226 should be :

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

A ! is missing, please edit it.

@TiaTheFairy TiaTheFairy reopened this Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant