on death:
if display name of victim is "&6&l&nBoss Level 1":
cancel drops
drop 1 %{customitems.BossKey}% at location of victim
The code has an error with the drop line, however it works if %{customitems.BossKey}% is replaced with diamond.
I have set %{customitems.BossKey}% to be an item and it works when I give it to a player, but for some reason it doesn't work with drop.
Any help is greatly appreciated!