Solved Skript's Inventory Slot Restriction

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

dantegamer79

Member
Apr 12, 2020
18
0
1
I made a Skript GUI where you can put maxinum 2 items, my inventory is full except slots 21, 22, 23, 24 and 25. When I press on any item from that GUI it is supposed to put it back in my inventory, it does it with every slot except the slots 21, 22, 23, 24 and 25, is there a problem with the skript config? It's a Skript problem, If I do "/give player minecraft:dirt" it normally gives me the dirt block and put it in those slots, but if I do "!give player dirt" (which is a skript effect command) doesn't give the dirt block if there are just 5 slots avaible.

I'll leave the mediafire link since it's not letting me upload the gif.
https://www.mediafire.com/view/lnn2ujtnaul1yaa/skript-problem.gif/file
 
It isn't a code problem, if I do "/give player minecraft:dirt" it normally gives me the dirt block and put it in those slots but if I do "!give player dirt" which is a skript effect command doesn't give the dirt block if there are just 5 slots avaible
 
It isn't a code problem, if I do "/give player minecraft:dirt" it normally gives me the dirt block and put it in those slots but if I do "!give player dirt" which is a skript effect command doesn't give the dirt block if there are just 5 slots avaible
I can't repeat bug. When I use effect command , dirt was putted in first free slot in my inventory