Skip to content

Add guards against selling custom NBT items#49

Open
RecoTG wants to merge 1 commit intomainfrom
codex/add-category-guards-for-item-selling
Open

Add guards against selling custom NBT items#49
RecoTG wants to merge 1 commit intomainfrom
codex/add-category-guards-for-item-selling

Conversation

@RecoTG
Copy link
Owner

@RecoTG RecoTG commented Aug 16, 2025

Summary

  • Track whether a shop entry allows custom metadata and parse optional allow-custom flags in shop.yml
  • Block selling renamed or NBT-heavy items by default, unless the item entry permits metadata
  • Ensure sell menus and sell-all respect metadata restrictions

Testing

  • mvn -q -e -ntp test (fails: Could not transfer artifact org.apache.maven.plugins:maven-resources-plugin:pom:3.3.1 from/to central (https://repo.maven.apache.org/maven2): Network is unreachable)

https://chatgpt.com/codex/tasks/task_e_68a11201c304832eb733dfd1cd4e78a2

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