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

Filter nitpicks #2786

Merged

Conversation

omergunr100
Copy link
Contributor

What

Limit the filter handler slot to hold a single filter (down from 64).
Stop saving NBT data if the filter state is the default.

Implementation Details

There's some weird edge case for the tag filters, the getTag() followed by null check is intentional.

Potential Compatibility Issues

Any addon that extends the existing filters in a way that doesn't make sense will probably need to reimplement saveFilter() or isBlank().

@omergunr100 omergunr100 requested a review from a team as a code owner January 23, 2025 17:37
@Ghostipedia Ghostipedia added the type: bugfix general bug fixes label Jan 28, 2025
@Ghostipedia Ghostipedia merged commit 8f899bf into GregTechCEu:1.20.1 Jan 28, 2025
3 checks passed
@omergunr100 omergunr100 deleted the 1.20.1-filter-handler-nitpick branch January 31, 2025 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bugfix general bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants