Skip to content

block name set from variable not working #8246

@TheLimeGlass

Description

@TheLimeGlass

Skript/Server Version

2.12.2
MC 1.21.5

Bug Description

When setting a chest from a variable where the chest name is set, it won't apply to the actual chest

Expected Behavior

To set the chest name to the chest item name

Steps to Reproduce

set {_item} to a chest
set name of {_item} to "&6Testing"
set block above player to {_item}

name is not "&6Testing" or even "Testing"

Errors or Screenshots

No response

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn issue that needs to be fixed. Alternatively, a PR fixing an issue.completedThe issue has been fully resolved and the change will be in the next Skript update.

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions