You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So while using Skript-GUI I tend to use (integers from 0 to 53) and loop x times
this allows me to do large changes with a smaller amount of code and looks neater
however, I've noticed that whenever I use unformat gui slot (integers from 10 to 16) or loop {_value} times:
it only ever loops once and then seems to cut off anything else in the gui creation
Steps to Reproduce
simply add this code into a test server and run the /example command if it's anything like mine it
should open the GUI and have all GUI slots filled with black glass pane with only slot 0 being air
command /example:
trigger:
create a gui with virtual chest inventory with 3 rows named "":
format gui slot (integers from 0 to 26) with black glass pane named " "
loop 9 times:
unformat gui slot (loop-value)-1
unformat gui slot (integers from 9 to 17) # nothing changes when I use `slots`
unformat gui slot 18,19,20,21,22,23,24,25 and 26
format next gui slot with stone
open last gui to player
Expected Behavior
I'd expect to see a gui slots air besides slot 0 being stone
Errors / Screenshots
this image here is an old screenshot prior to me changing the skript originally it only unformated slots (10 to 16)
however, while I was testing I noticed it did the same with unformat gui slot 10, 11, 12, ect
Server Information
Server version/platform: Java, Paper Latest (1.16.5)
skript-gui version: Skript-Gui, 1.2.2
Skript version: Skript, 2.5.3
Additional Context
I've never had this issue in the past when using TuSKe so I do believe it's a bug
The text was updated successfully, but these errors were encountered:
I couldn't exactly replicate your issue using the alpha nightly builds, but I did notice it wasn't exactly working as expected. With the latest commit above merged, I believe this issue has been fixed. Here's what it looks like now:
Description
So while using Skript-GUI I tend to use
(integers from 0 to 53)
andloop x times
this allows me to do large changes with a smaller amount of code and looks neater
however, I've noticed that whenever I use
unformat gui slot (integers from 10 to 16)
orloop {_value} times:
it only ever loops once and then seems to cut off anything else in the gui creation
Steps to Reproduce
simply add this code into a test server and run the /example command if it's anything like mine it
should open the GUI and have all GUI slots filled with black glass pane with only slot 0 being air
Expected Behavior
I'd expect to see a gui slots air besides slot 0 being stone
Errors / Screenshots
this image here is an old screenshot prior to me changing the skript originally it only unformated slots (10 to 16)
however, while I was testing I noticed it did the same with
unformat gui slot 10, 11, 12, ect
Server Information
Additional Context
I've never had this issue in the past when using TuSKe so I do believe it's a bug
The text was updated successfully, but these errors were encountered: