on any move:
loop all blocks in radius 100 around the player:
if loop-block is redstone ore or coal ore or iron ore:
if loop-block's y coordinate is below 3:
set the loop-block to nether brick
add the loop-block's location to {darkb::*}
on break of nether brick:
if the event-block is in {darkb::*}:
clear the drops
remove the event-block's location from {darkb::*}
set {witherfrag} to glowing nether brick named "Wither Fragment"
drop {witherfrag} at event-block
when I reload the skript it closes the server.
help pls
thanks.
loop all blocks in radius 100 around the player:
if loop-block is redstone ore or coal ore or iron ore:
if loop-block's y coordinate is below 3:
set the loop-block to nether brick
add the loop-block's location to {darkb::*}
on break of nether brick:
if the event-block is in {darkb::*}:
clear the drops
remove the event-block's location from {darkb::*}
set {witherfrag} to glowing nether brick named "Wither Fragment"
drop {witherfrag} at event-block
when I reload the skript it closes the server.
help pls
thanks.