Solved Disable shield slot completely

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

revkilleri

Member
Oct 24, 2017
1
0
0
32
Hi,
i really need help. I want to disable put shield item to offhand slot, but i dont have an idea how to solve it. This prevent only change item by press "F", but nothink more.
I tried too "on inventory click:", but i need prevent put Shield item to slot 40 (offhand) in inventory. Any ideas? Thank you!

code_language.skript:
on offhand switch:
    if event-item is shield:
        send "&cDetected!" to player
        cancel event

Its still not solved, but i push bad "solve" option :emoji_frowning:((
 
Status
Not open for further replies.