Player inventories restoring with party hat instead of a random item of clothing

ok, i think something in the december update has broken this plugin. it is replacing items in your Wear slots slowly over the course of many deaths. even new players are spawning with a party hat, but it is affecting players who are already wearing full equipment by replacing their worn items 1 by 1 as they die multiple times.

"Item.SetParent caused remove - this shouldn't ever happen" is what appears in console when a player dies while wearing any equipment in slot 1, which is causing deletion. if hat is still on when dying again, slot 2 is populated with a party hat too, causing another remove until there are no clothes left, only 7 party hats

it seems to be the birthday event, which will not be a problem tomorrow. however, today it has deleted countless worn items instead of just deleting the hats. maybe this could be future proofed by deleting any items that were not being worn when you died instead of deleting the item trying to replace said hat.