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

IGNORE_ENCHANT_ATTRIBUTE_FOR_SIMILARITY configuration #577

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

Conversation

vmanijashvili
Copy link

Config to ignore Anvil's repair cost and other attributes for enchanted item

@vmanijashvili
Copy link
Author

Player cannot manage Anvil repair-cost. It may be different on the same item and the same Enchants

@Phoenix616
Copy link
Member

Phoenix616 commented Nov 26, 2023

Seeing as you added support to ignore any key it would be best to also reflect that in the name of the config option.

@vmanijashvili
Copy link
Author

@Phoenix616 thanks. I did the update

@@ -337,4 +337,10 @@ public <T> Object parseToJava(Class<T> type, Object object) {
@PrecededBySpace
@ConfigurationComment("Add stock counter to quantity line?")
public static boolean USE_STOCK_COUNTER = false;

@PrecededBySpace
@ConfigurationComment("Exclude these enchantments from the similarity check when comparing items")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment seems wrong to what it now does. Also might want to add an example of what keys are supported here or a link to a site listing those. (Or at least that info in the PR so it can be added to the wiki)

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.

None yet

2 participants