
# -> If there are no items then return
execute unless score @s OverlyRealistic.World.BlockItemAmount matches 1.. run \
    return fail

# -> Remove items
execute on passengers run \
    kill @s[type=item_display,tag=OverlyRealistic.Block.PreparationPlate_Item]

# -> Reset data
function overly_realistic:general/custom_blocks/preparation_plate/preparation_plate_remove_data_from_interaction
