Solved if loop-block is fire error?

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

NonicPvP

New Member
Mar 23, 2017
9
1
3
Denmark
Hello
I have this issue where "if loop-block is fire" does not function because of the "fire".

I have tried:
Using another block ("stone" for example) to test if the issue actually is the "fire" part. (it is)
searching the docs
joining the discord (I can't for some reason)
using the ID for fire (51) instead of "fire"
messing around with aliases-english.sk to try and get "fire" to function

nothing's working

Code:
loop all blocks in radius 4 of {_mol}:
            if loop-block is fire:
                if block below loop-block = stone or andesite or cobble or cracked stone bricks:
                    set loop-block to air

upload_2023-4-2_20-13-39.png
 
Hello
I have this issue where "if loop-block is fire" does not function because of the "fire".

I have tried:
Using another block ("stone" for example) to test if the issue actually is the "fire" part. (it is)
searching the docs
joining the discord (I can't for some reason)
using the ID for fire (51) instead of "fire"
messing around with aliases-english.sk to try and get "fire" to function

nothing's working

Code:
loop all blocks in radius 4 of {_mol}:
            if loop-block is fire:
                if block below loop-block = stone or andesite or cobble or cracked stone bricks:
                    set loop-block to air

View attachment 7384
I think fire has another correct syntax.
 
I think fire has another correct syntax.
do you know it?
[doublepost=1680476931,1680474018][/doublepost]
Code:
loop all blocks in radius 3 of {_mol}:
            if "%loop-block%" contains "fire":
                set block at loop-block to air
found a way around after so long

and even more annoying how simple it actually was
 
Status
Not open for further replies.