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 events not respecting feature flags #60

Merged
merged 1 commit into from
Dec 19, 2022

Conversation

bl4ckscor3
Copy link
Contributor

@bl4ckscor3 bl4ckscor3 commented Dec 18, 2022

Minecraft 1.19.3 added feature flags, which control whether an item, entity, etc. shows up in game. They are currently used to enable or disable content from the experimental datapacks for bundles and 1.20.
As an example to explain the issue that this PR fixes: If the update_1_20 datapack is not enabled, Entropy will, for instance during the random drops event, still drop items that are part of that datapack (the bamboo blocks are one example). With the changes from this PR, those experimental items will only drop when the corresponding experimental datapack is enabled.

@juancarloscp52 juancarloscp52 merged commit f288e6a into juancarloscp52:1.19.3 Dec 19, 2022
@juancarloscp52
Copy link
Owner

Thank you! Totally forgot about that while porting to 1.19.3 hahah

@bl4ckscor3 bl4ckscor3 deleted the feature-flag-fix branch December 19, 2022 16:19
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.

2 participants