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 cast exception when using invalid classes with CondIsTagged #7527

Open
wants to merge 1 commit into
base: dev/patch
Choose a base branch
from

Conversation

sovdeeth
Copy link
Member

Description

Adds a check to ensure the value and the tag are actually valid to use with isTagged(). This is honestly a pretty awkward problem and I think the solution i have is reasonable, but not ideal. Better ideas welcome.


Target Minecraft Versions: any
Requirements: none
Related Issues: #7452

@sovdeeth sovdeeth added the bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. label Jan 25, 2025
@sovdeeth sovdeeth requested review from Moderocky, APickledWalrus and a team January 25, 2025 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An issue that needs to be fixed. Alternatively, a PR fixing an issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant