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: item_flags list not being handled #112

Merged
merged 1 commit into from
Jun 24, 2024
Merged

Conversation

iGabyTM
Copy link
Member

@iGabyTM iGabyTM commented Jun 22, 2024

fix #110

@@ -763,23 +776,25 @@ private Map<Integer, TreeMap<Integer, MenuItem>> loadMenuItems(FileConfiguration

// item flags
if (c.contains(currentPath + "item_flags")) {
Copy link
Member

Choose a reason for hiding this comment

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

Since this check is handled in getStringListFromConfig, we can remove it from here right?

Copy link
Member Author

Choose a reason for hiding this comment

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

🤷🏼‍♂️ I'd leave it inside loadMenuItems too, just to have a visual separation for item flag loading logic

@darbyjack darbyjack merged commit 08a8da5 into main Jun 24, 2024
2 checks passed
@darbyjack darbyjack deleted the fix/110-item_flags branch June 24, 2024 13:18
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.

Multiple flags not working
3 participants