Hi, I am trying to make a minigame and loop a drop of random items like a rain.
Here is my code:
set {_rain} to location(random number from -3 to 3, 255, random number from 3 to 3, world)
drop 1 of (random element out of all items) at {_rain} without velocity
send "%{_rain}%" to all players
It loops like 4-5 times and after I get a console error that "Skript cannot drop air" and it stops the loop entirely.
Is there a way to remove some blocks that can stop the loop. I've read that only items that can't drop give this error. Thanks!
Here is my code:
set {_rain} to location(random number from -3 to 3, 255, random number from 3 to 3, world)
drop 1 of (random element out of all items) at {_rain} without velocity
send "%{_rain}%" to all players
It loops like 4-5 times and after I get a console error that "Skript cannot drop air" and it stops the loop entirely.
Is there a way to remove some blocks that can stop the loop. I've read that only items that can't drop give this error. Thanks!