if (storePlayer.getAdena() < _price)
{
sendPacket(ActionFailed.STATIC_PACKET);
storePlayer.sendMessage("You have not enough adena, canceling PrivateBuy.");
storePlayer.setPrivateStoreType(L2PcInstance.STORE_PRIVATE_NONE);
storePlayer.broadcastUserInfo();
return;
}
}
if (!storeList.PrivateStoreSell(player, _items, _price))