public static void OnPickedInstrument( Mobile from, object targeted, object state )
{
BaseInstrument instrument = targeted as BaseInstrument;
if ( instrument == null )
{
from.SendLocalizedMessage( 500619 ); // That is not a musical instrument.
}
else
{
SetInstrument( from, instrument );
InstrumentPickedCallback callback = state as InstrumentPickedCallback;
if ( callback != null )
callback( from, instrument );
}
}