uint itemType = item.ID / 1000;
if (itemType == 613)//Knife { if (!client.Entity.IsArcher(client.Entity.Class)) { item.Position = 0; return; } } if (itemType == 900) //shield warrior { if(!client.Entity.IsWarrior(client.Entity.Class)) { item.Position = 0; return; } }