Hey, I have to try to make a code so you can't place a cobblestone wall at a cobblestone wall. So when you place a cobblestone wall next to a cobblestone wall, will it cancel and do nothing
Thank you
Thank you
code_language.skript:
on place of cobblestone wall:
set {_check} to middlecheck(location of event-block)
if {_check} is true:
stop
if block north of event-block is locked chest:5 or cobblestone wall:
set block at block 1 north event-location to oak wood plank
set {_check} to middlecheck(location of block north of event-block)
if {_check} is true:
stop
if block east of event-block is locked chest:5 or cobblestone wall:
set {_check} to middlecheck(location of block east of event-block)
if {_check} is true:
stop
if block south of event-block is locked chest:5 or cobblestone wall:
set {_check} to middlecheck(location of block south of event-block)
if {_check} is true:
stop
if block west of event-block is locked chest:5 or cobblestone wall:
set {_check} to middlecheck(location of block west of event-block)
if {_check} is true:
stop