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

Cant name real chest #2698

Closed
CGDoctor8 opened this issue Dec 15, 2019 · 5 comments
Closed

Cant name real chest #2698

CGDoctor8 opened this issue Dec 15, 2019 · 5 comments
Labels
duplicate For bugs or requests that have already been made and are currently open.

Comments

@CGDoctor8
Copy link

Description

When trying to name a placed chest in the world it will fail silently i would also expect this to work with droppers, dispensers, ender-chest, trap chest, double wide chest

Steps to Reproduce

command /name [<text>]:
    trigger:
        if target block is a chest:
            set {_t} to inventory of target block
            add 1 dirt to {_t}
            set the name of {_t} to "test"
        else:
            send "&cYou must be looking at a chest"
@Whimsyturtle
Copy link
Member

Are you sure you're doing it right? Have you tried directly modifying the inventory data instead of the variable?

command /name [<text>]:
    trigger:
        if target block is a chest:
            add 1 dirt to inventory of target block
            set the name of inventory of target block to "test"
        else:
            send "&cYou must be looking at a chest"

Try that

@Whimsyturtle Whimsyturtle added the waiting for reply The report needs a response from the reporter to determine course of action. label Dec 15, 2019
@CGDoctor8
Copy link
Author

Also unsable to name chest with that code

@Whimsyturtle
Copy link
Member

What server version and skript version are you using?

@CGDoctor8
Copy link
Author

Just put together the latest spigot and skript stable release for 1.14.4 still nothing with either code blocks and to be clear I'm am expecting this name to change
image

@Whimsyturtle
Copy link
Member

Whimsyturtle commented Dec 16, 2019

Duplicate of #2069 I believe. You can read that issue for a workaround using skript-mirror.

@Whimsyturtle Whimsyturtle added duplicate For bugs or requests that have already been made and are currently open. and removed waiting for reply The report needs a response from the reporter to determine course of action. labels Dec 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate For bugs or requests that have already been made and are currently open.
Projects
None yet
Development

No branches or pull requests

2 participants