activeChar.getTradeList().removeAll();
activeChar.sendPacket(new SendTradeDone(0));
}
else
{
activeChar.setTradeList(new L2TradeList(0));
}
activeChar.getTradeList().updateSellList(activeChar, activeChar.getSellList());
activeChar.setPrivateStoreType(L2Player.STORE_PRIVATE_NONE);
activeChar.standUp();
activeChar.broadcastUserInfo(true);
if(!activeChar.checksForShop(false))
{
activeChar.sendActionFailed();
return;
}
activeChar.sendPacket(new PrivateStoreManageList(activeChar, _actionId == 61));
break;
}
case 28: // Запрос на создание приватного магазина покупки
{
if(activeChar.isInTransaction())
{
activeChar.getTransaction().cancel();
}
if(activeChar.getTradeList() != null)
{
activeChar.getTradeList().removeAll();
activeChar.sendPacket(new SendTradeDone(0));
}
else
{
activeChar.setTradeList(new L2TradeList(0));
}
activeChar.setPrivateStoreType(L2Player.STORE_PRIVATE_NONE);
activeChar.standUp();
activeChar.broadcastUserInfo(true);
if(!activeChar.checksForShop(false))