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