Unable to fill blocks in 2 areas

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

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

oofish

Member
Sep 24, 2022
1
0
1
24
Script version: 2.6.3
Script Author: me..?
Minecraft Version: 1.19.2
Code:
https://pastebin.com/raw/eStFa4DW
There are no errors on reload, no console errors either. It's just unable to fill the blocks when I step on tinted glass in those positions, in the world "hub"
Addons:
SkBee: 2.0.0
SkQuery: 4.1.7
I've looked in the docs and the github to find an issue about something similar, but I feel like I'm just stupid or something, because when I added 1 to the y value it didn't work, just put tinted glass one block up.
 
Script version: 2.6.3
Script Author: me..?
Minecraft Version: 1.19.2
Code:
https://pastebin.com/raw/eStFa4DW
There are no errors on reload, no console errors either. It's just unable to fill the blocks when I step on tinted glass in those positions, in the world "hub"
Addons:
SkBee: 2.0.0
SkQuery: 4.1.7
I've looked in the docs and the github to find an issue about something similar, but I feel like I'm just stupid or something, because when I added 1 to the y value it didn't work, just put tinted glass one block up.

Because in 'on walking..' event you compare variables {_random*} with number, but this variables doesn't have values.
Try to set {_random*} to something like:
Code:
set {_random*} to random integer between 1 and 2
 
Status
Not open for further replies.