Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stealable GUI items aren't stealable unless with stealable items is true for a GUI #126

Closed
Fusezion opened this issue Jul 16, 2022 · 2 comments
Labels
bug Something isn't working completed Bug fix / enhancement will be available in the next release

Comments

@Fusezion
Copy link
Contributor

Description

There should be an additional syntax for format/make gui slot used as

format gui slot %slot% with [[un]stealable] %item%

adding the un is self-explanatory.

I'm saying to add this as I'm not sure if this is intended but when using skript-gui-1.3-beta2
in order to use format gui slot 2 with stealable dirt you have to create the GUI using with stealable items

the way I found to use it and still add unmoveable slots is by doing

format gui slot 1 with dirt:
  stop

I feel like it would be easier if we could just use format gui slot 1 with unstealable dirt

@Fusezion Fusezion added the enhancement New feature or request label Jul 16, 2022
@APickledWalrus
Copy link
Owner

APickledWalrus commented Aug 11, 2022

This sounds more like it might be a bug. All items are unstealable by default.
If you want a specific item to be stealable, you should only have to do with stealable dirt and not add with stealable items to the GUI creation.

EDIT: Yes, this is a bug. stealable %item% should not require with stealable items

@APickledWalrus APickledWalrus added bug Something isn't working and removed enhancement New feature or request labels Aug 11, 2022
@APickledWalrus APickledWalrus changed the title Additional syntax to "format gui" Stealable GUI items aren't stealable unless with stealable items is true for a GUI Aug 11, 2022
@APickledWalrus APickledWalrus added the completed Bug fix / enhancement will be available in the next release label Aug 11, 2022
@APickledWalrus
Copy link
Owner

The linked commit should fix this issue. If you notice any additional issues. please feel free to report them! You can test the fix by downloading the nightly build: https://github.com/APickledWalrus/skript-gui/suites/7775451524/artifacts/327166205

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working completed Bug fix / enhancement will be available in the next release
Projects
None yet
Development

No branches or pull requests

2 participants