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

ExprName - fix not being able to get/set name of block #7503

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

ShaneBeee
Copy link
Contributor

Description

This PR aims to fix an issue with ExprName, and not being able to get/set the name of a block.
The issue as "inventories" was before "nameds", therefor forcing the Block to convert to an Inventory.
Reordering it solves that issue.
Also, had to update the BlockState to apply the name.

Added a test as well.


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

@Efnilite Efnilite added 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. labels Jan 22, 2025
@Moderocky Moderocky merged commit 76cbae6 into SkriptLang:dev/patch Jan 22, 2025
5 checks passed
@ShaneBeee ShaneBeee deleted the shane/fix-expr-name branch January 22, 2025 18:58
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.

4 participants