Set slot Flint and steel doesn't 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 community!

    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.

RedEpic

Member
May 12, 2020
2
0
0
command /hiken3:
permission: devil.fruit.hiken3
trigger:
if slot 8 of player's current inventory is not air:
set slot 8 of player's inventory to flint and steel named "&6Hiken" with lore "Just need one hit to Kill em!"
make console execute command "/hiken4"

It works successfully in the console no errors
but the slot doesnt changed into flint and steel ? is there any wrong format?

Space & tab already settled up
MC Server Version : 1.12.2
Add-ons :
SkRayFall
SkDragon
SkQuery
Skelllett
 
Code:
command /hiken3:
    permission: devil.fruit.hiken3
    trigger:
        if slot 8 of player's inventory is not air:
            set slot 8 of player's inventory to flint and steel named "&6Hiken" with lore "Just need one hit to Kill em!"

Now is working, just remember that if you don't have any item in slot 8 it will not work.
 
Status
Not open for further replies.