Custom Trails not removing

For some odd reason, i’ve been having this problem where people are flying around with trails when they die. It doesn’t seem to remove the trails correctly and I cannot find a solution.

Here is code for one of many that are doing it.


ITEM.Name = 'Mr. Bean'
ITEM.Price = 500
ITEM.Material = 'trails/mrbean.vmt'

function ITEM:OnEquip(ply, modifications)
	ply.AF = util.SpriteTrail(ply, 0, modifications.color, false, 15, 1, 4, 0.125, self.Material)
end

function ITEM:OnHolster(ply)
	SafeRemoveEntity(ply.AF)
end

function ITEM:Modify(modifications)
	PS:ShowColorChooser(self, modifications)
end

function ITEM:OnModify(ply, modifications)
	SafeRemoveEntity(ply.AF)
	self:OnEquip(ply, modifications)
end

Probably because OnHolster is never called when they die.

Maybe there’s an ITEM:* hook for when the owner dies?