I got that script I want to check dropped item is in dropper's backpack or not ?

It is not works exactly..
What is wrong?

Code:
 public override bool OnDragDrop(Mobile from, Item dropped)
PlayerMobile m = (PlayerMobile)from;
if (dropped is LanetliHooded && dropped.IsChildOf(m.Backpack) && !m.LanetDone)
{
// My Arguments
}
.
.
.
 
Back