Solved I can't move items around my inventory, I think it may be something to do with this.

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

xBackpack

Member
Mar 13, 2022
4
0
1
18
  1. Script Version: 2.6.1
  2. Script Author: Me
  3. Minecraft Version: 1.17.1
  4. Full Code:
    every 1 tick:
    loop all players:
    if slot 8 of loop-player's inventory is not nether star:
    if loop-player's inventory contains nether star named "&c&lSky&b&lBlock &e&lMenu":
    remove 1 nether star from loop-player's inventory
    set slot 8 of loop-player's inventory to nether star named "&c&lSky&b&lBlock &e&lMenu"
    if slot 8 of loop-player's inventory is nether star:
    stop

  5. Errors on Reload:
  6. No errors

  7. Console Errors: (if applicable)
  8. No errors

  9. Other Useful Info:
  10. I just can't move items around my inventory.

  11. Addons using (including versions):
  12. SkBee. I don't think it is relevant tho
  1. [Have you tried searching the docs? Yes
  2. Have you tried searching the Forums? Yes
  3. What other methods have you tried to fix it?[/b] Change the code around, but still doesn't work.
[doublepost=1647176270,1647176192][/doublepost]Some of the code didn't indent. here! https://pastebin.com/TZ0Xkj9v
[doublepost=1647176428][/doublepost]Nevermind, I have solved it! :emoji_slight_smile: