Unbreakable is not working

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

zeibo

Member
May 16, 2017
11
0
0
27
code_language.skript:
command /mw_su:
    trigger:
        make player execute command "/playsound entity.item.pickup ambient %player%"
        set {mw_su} to diamond_hoe named "&5&3333"
        set durability of {mw_su} to 2
        set lore of {mw_su} to "123"
        give unbreakable {mw_su} to the player

Why can't the item become unbreakable??



upload_2017-12-4_4-51-50.png
 
Don't use variables if you don't need them.
code_language.skript:
give player unbreakable diamond hoe of durability 2 named "" with lore ""
 
Status
Not open for further replies.