if (activeChar == null) return;
L2ItemInstance item = activeChar.getInventory().getItemByObjectId(_objectId);
if (item == null
|| _count == 0
|| !activeChar.validateItemManipulation(_objectId, "drop")
|| (!Config.ALLOW_DISCARDITEM && !activeChar.isGM())
|| !item.isDropable())
{
activeChar.sendPacket(new SystemMessage(SystemMessageId.CANNOT_DISCARD_THIS_ITEM));
return;