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 tag lookup for "skript" and "paper" #7450

Merged

Conversation

Fusezion
Copy link
Contributor

@Fusezion Fusezion commented Jan 16, 2025

Description

This PR aims to fix the tag lookup for the ExprTag class. This should now make helmets check minecraft:helmets and paper:helmets (ending at paper)

If someone has a suggestion for how test should be done I'm willing to here, this will break if minecraft ever adds minecraft:helmets tag, which somehow they never have.

NOTE:

This PR is currently targeting master to limit the amount of file changes until the team merges master into dev/patch


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

@Fusezion Fusezion changed the base branch from master to dev/patch January 16, 2025 13:45
@Efnilite Efnilite added the bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. label Jan 16, 2025
Fusezion and others added 4 commits January 16, 2025 16:51
 - Remove lookup if namespace is provided
 - Cleanup lookup code
 - thanks sovde for explaining in further detail/provide literal code.
@Fusezion Fusezion requested a review from Efnilite January 17, 2025 01:13
@Fusezion Fusezion requested a review from Efnilite January 29, 2025 11:00
 - Revert back to package-private
@APickledWalrus APickledWalrus added the patch-ready A PR/issue that has been approved and is ready to be merged/closed for the next patch version. label Feb 1, 2025
@APickledWalrus APickledWalrus merged commit deb21b5 into SkriptLang:dev/patch Feb 1, 2025
5 checks passed
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. patch-ready A PR/issue that has been approved and is ready to be merged/closed for the next patch version.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants