Solved SkQuery and skript compatibility problem

  • 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.

Mich

Active Member
Jul 15, 2020
148
6
18
23
Skript version 2.5 beta 3
autor: Shane Bee
skQuery version 4.1.3
spigot 1.16.2

Description:
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
Code:
function kit(p:player, kit: string):
    if {_kit} is "pyro":
        equip {_p} with all leather armor of projectile protection 1
        dye {_p}'s helmet orange
        dye {_p}'s leggings orange
        dye {_p}'s chestplate orange
        dye {_p}'s boots orange
        set slot 0 of inventory of {_p} to 2 lava bucket
        set slot 1 of inventory of {_p} to wooden sword of fire aspect 1
        set slot 2 of inventory of {_p} to 2 water bucket
        set slot 3 of inventory of {_p} to 5 egg named "teleport"
        set slot 4 of inventory of {_p} to 5 snowball named "teleport"
        set slot 5 of inventory of {_p} to bow of infinity, flame
        set slot 6 of inventory of {_p} to 6 fire charge
        set slot 7 of inventory of {_p} to 64 steak
        set slot 8 of inventory of {_p} to 2 hay bale
        set slot 9 of inventory of {_p} to arrow
errors: none
This is how I do the phathfind
Code:
make {pet::%player%} pathfind to player at speed 1.4
 
Last edited:
Status
Not open for further replies.