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!

  2. LOOKING FOR A VERSION OF SKRIPT??:

    You can always check our 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 Disable shield slot completely

Discussion in 'Skript' started by revkilleri, Oct 24, 2017.

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

    revkilleri Member

    Joined:
    Oct 24, 2017
    Messages:
    1
    Likes Received:
    0
    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 (Skript):
    1. on offhand switch:
    2.     if event-item is shield:
    3.         send "&cDetected!" to player
    4.         cancel event
    Its still not solved, but i push bad "solve" option :emoji_frowning:((
     
Thread Status:
Not open for further replies.
Loading...