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 permission check logic in multi-block filtering #104

Merged
merged 1 commit into from
Dec 20, 2024
Merged

Conversation

NonSwag
Copy link
Member

@NonSwag NonSwag commented Dec 20, 2024

Closes #103

Previously, the filter logic used an AND condition, which caused issues with permission lookups. This update replaces it with an OR condition to correctly handle cases where either permission or a specific flag grants access.

Previously, the filter logic used an AND condition, which caused issues with permission lookups. This update replaces it with an OR condition to correctly handle cases where either permission or a specific flag grants access.
@NonSwag NonSwag added the bug Something isn't working label Dec 20, 2024
@NonSwag NonSwag self-assigned this Dec 20, 2024
@NonSwag NonSwag merged commit e37fa7e into master Dec 20, 2024
2 checks passed
@NonSwag NonSwag deleted the perm-fix branch December 20, 2024 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Players can't use Bonemeal until added as members to @world
1 participant