Skip to content
This repository has been archived by the owner on May 6, 2018. It is now read-only.

[BUG] Set the lore of a loop-item ? #310

Closed
Zerkhan opened this issue Mar 10, 2014 · 2 comments
Closed

[BUG] Set the lore of a loop-item ? #310

Zerkhan opened this issue Mar 10, 2014 · 2 comments
Assignees
Labels
Milestone

Comments

@Zerkhan
Copy link

Zerkhan commented Mar 10, 2014

Hi Njol,

I have downloaded Skript 2.1.1 (https://dl.dropboxusercontent.com/u/48570304/Skript/Skript-2.1.1.jar), and I have write this :

command /test:
    trigger:
        give iron sword of sharpness 1 named "NAME" to player
        loop all items in player's inventory:
            loop-item's name is "NAME":
                # The text is broadcasted.
                broadcast "1"
                # ... but the lore isn't set D:
                set line 1 of loop-item's lore to "LORE"

I have also tried with,

set {_p} to "LORE"
set line 1 of loop-item's lore to {_p}
set {_p} to "LORE" parsed as text
set line 1 of loop-item's lore to {_p}

May be you are already aware of this problem, sorry in this case.

@Njol Njol added the bug label Mar 11, 2014
@Njol Njol self-assigned this Mar 11, 2014
@Njol
Copy link
Owner

Njol commented Mar 11, 2014

No, I was not aware of this. This is now officially the last bug fixed for 2.1.1, as I just uploaded it to Bukkit.

@Njol Njol added this to the 2.1.1 milestone Mar 11, 2014
@Zerkhan
Copy link
Author

Zerkhan commented Mar 11, 2014

Yeah \o/ !

@Zerkhan Zerkhan closed this as completed Mar 11, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants