Tuke-Nuke / TuSKe

TuSKe is a Skript addons which brings some new cool things and some simple plugins hook.
18 stars 36 forks source link

Delete gui not working #46

Closed melinstagibson closed 2 years ago

melinstagibson commented 6 years ago

So im trying to make a kit creator with a chest interface but whenever i try to delete a gui it will still open it again and i can delete it endless times, basically the delete gui passage does nothing

command /editkit <string>:
        permission: mel.createkit
        trigger:
                if gui "%arg-1%" is set:
                        open gui "%arg-1%" to player
                else:
                        create gui "%arg-1%" with chest with 3 rows named "&2Edit Kit ""&a&l%arg-1%&2"""
                        open last created gui to player

command /deletekit <string>:
        permission: mel.createkit
        trigger:
                if gui "%arg-1%" is set:
                        delete gui "%arg-1%"
                        send "deleted kit %arg-1%"
                else:
                        send "this kit doesn't exist"
Blueyescat commented 6 years ago

✅ Confirmed with PaperSpigot 1.12.2, Skript 2.2-dev33 and TuSKe 1.8.2.