#check if the block has a tag
14 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
onEvent('block.place', event => {
if (event.block.hasTag('degerado:building_blocks')) event.cancel()
})
dont woerk too
did you fix the typo with the bracket
yes
then the block probably doesnt have the tag
it have
depends on if that's a block tag or an item tag
this is an item tag
you'd have to do event.block.item.hasTag()
or if put the tag on manually, put it on the block (too)
ok
work, tnks