1. 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!


    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved SkQuery and skript compatibility problem

Discussion in 'Skript' started by Mich, Sep 4, 2020.

Thread Status:
Not open for further replies.
  1. Mich

    Mich Active Member

    Jul 15, 2020
    Likes Received:
    Skript version 2.5 beta 3
    autor: Shane Bee
    skQuery version 4.1.3
    spigot 1.16.2

    There is a problem with the set slot 0 of inventory of {_p} to any item
    if I use skquery that effect wont work and there is no code errors I remove skqery from plugins and the error is gone, that how I know the skquery is the problem. Can I fix this? if not can you tell me a add on to do pathfind on 1.16.2 ?
    Code (Text):
    1. function kit(p:player, kit: string):
    2.     if {_kit} is "pyro":
    3.         equip {_p} with all leather armor of projectile protection 1
    4.         dye {_p}'s helmet orange
    5.         dye {_p}'s leggings orange
    6.         dye {_p}'s chestplate orange
    7.         dye {_p}'s boots orange
    8.         set slot 0 of inventory of {_p} to 2 lava bucket
    9.         set slot 1 of inventory of {_p} to wooden sword of fire aspect 1
    10.         set slot 2 of inventory of {_p} to 2 water bucket
    11.         set slot 3 of inventory of {_p} to 5 egg named "teleport"
    12.         set slot 4 of inventory of {_p} to 5 snowball named "teleport"
    13.         set slot 5 of inventory of {_p} to bow of infinity, flame
    14.         set slot 6 of inventory of {_p} to 6 fire charge
    15.         set slot 7 of inventory of {_p} to 64 steak
    16.         set slot 8 of inventory of {_p} to 2 hay bale
    17.         set slot 9 of inventory of {_p} to arrow
    errors: none
    This is how I do the phathfind
    Code (Text):
    1. make {pet::%player%} pathfind to player at speed 1.4
    #1 Mich, Sep 4, 2020
    Last edited: Sep 4, 2020
Thread Status:
Not open for further replies.

Share This Page