activeChar.sendPacket(SystemMsg.THE_RECIPE_IS_INCORRECT);
return;
}
if (activeChar.getCurrentMp() < recipe.getMpConsume())
{
activeChar.sendPacket(SystemMsg.NOT_ENOUGH_MP, new RecipeItemMakeInfo(activeChar, recipe, 0));
return;
}
if (!activeChar.findRecipe(_recipeId))
{
activeChar.sendPacket(SystemMsg.PLEASE_REGISTER_A_RECIPE, ActionFail.STATIC);