Weapons on deathrun in pointshop

Im trying to add melee weapons to my pointshop in Deathrun. I have a crowbar in there and it works fine but the minecraft sword doesnt. This is the code i have for it


ITEM.Name = 'Diamond Sword' // change this to whatever name you want
ITEM.Price = 1000 // change this to whatever price you want
ITEM.Model = 'models/weapons/w_diamond_mc_sword.mdl' // change this to what shop 'icon' you want
ITEM.WeaponClass = 'mc_sword_diamond' //change this to name for item you want to replace the crowbar with
ITEM.SingleUse = false // makes it persist every time. This does sometimes bug out, a good suggestion would be to add more weapons before this weapon that work similar, may give a workaround to your issue.

function ITEM:OnBuy(ply)
	ply:Give(self.WeaponClass)
	ply:SelectWeapon(self.WeaponClass)
end

function ITEM:OnSell(ply)
	ply:StripWeapon(self.WeaponClass)
end

You can buy it but it isnt in your hand. You still have nothing.

[editline]30th December 2013[/editline]

Can anyone help me figure out how to add these?

First of all, do you actually have a weapon called mc_sword_diamond?

When someone buys the item, is anything printed in console about missing/unknown entity?

I fixed it myself! Thanks guys!