# lobby.button created via BDEngine

execute as @e[type=minecraft:block_display,tag=lobby.button] run kill @n[distance=0..1,type=interaction,tag=lobby.button]
execute as @e[type=minecraft:block_display,tag=lobby.button] on passengers run kill @s
execute as @e[type=minecraft:block_display,tag=lobby.button] run kill @s
