execute store result score #Material nl.Count run data get block ~ ~ ~ Items.[13].Count
execute if score #Material nl.Count matches ..1 run replaceitem block ~ ~ ~ container.13 air
execute if score #Material nl.Count matches 2.. run scoreboard players remove #Material nl.Count 1 
execute store result block ~ ~ ~ Items.[13].Count double 1 run scoreboard players get #Material nl.Count 
replaceitem block ~ ~ ~ container.10 air
xp add @p -5 levels 
kill @e[nbt={Item:{tag:{nl_Quality:1b}}}]

