How to prevent Creative Inventory Duplicate

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

Status
Not open for further replies.
Please explain and use the correct format. Until then you will not receive support.


You know when you are in creative and Then you Can Click the middel mouse button On a item, Then it dupelicates the item.
 
on inventory click:
if inventory action is "clone stack":
cancel event
the inventory action isn't a text, it's a type, you don't have to surround it with quotes, that also will only work if you're using the Bensku's fork. There might be addon that lets you to do that in other way too.

Also, if you want your code to be formatted just click on the "[+]" button and then on the "</> code" button that's on the above bar.
 
the inventory action isn't a text, it's a type, you don't have to surround it with quotes, that also will only work if you're using the Bensku's fork. There might be addon that lets you to do that in other way too.

Also, if you want your code to be formatted just click on the "[+]" button and then on the "</> code" button that's on the above bar.

It still does not work
Error: http://prntscr.com/ec55yq

code_language.skript:
on inventory click:
    if inventory action is clone stack:
        cancel event
[doublepost=1487793114,1487792852][/doublepost]Im also running 1.8.9 Spigot
[doublepost=1487793227][/doublepost]Do you say i need to have Benskus Fork to make it work? Is that an addon i found this https://github.com/bensku/Skript/releases
[doublepost=1487856553][/doublepost]EDIT: I downloaded the newest version in Besku/Skript/Releases, and now it reloads the skript with no error, BUT i does not cancel the clone stack event @Snow-Pyon
 
Status
Not open for further replies.