Typo findIngrident

This commit is contained in:
thatsIch 2014-09-21 01:43:30 +02:00
parent 95a3f83932
commit 2d2aebd5b7

View file

@ -592,11 +592,11 @@ public class RecipeHandler implements IRecipeHandler
{ {
if ( hasQty ) if ( hasQty )
{ {
cList.add( findIngrident( v, qty ) ); cList.add( findIngredient( v, qty ) );
hasQty = false; hasQty = false;
} }
else else
cList.add( findIngrident( v, 1 ) ); cList.add( findIngredient( v, 1 ) );
} }
} }
} }
@ -607,7 +607,7 @@ public class RecipeHandler implements IRecipeHandler
return out; return out;
} }
private IIngredient findIngrident(String v, int qty) throws RecipeError private IIngredient findIngredient(String v, int qty) throws RecipeError
{ {
GroupIngredient gi = data.groups.get( v ); GroupIngredient gi = data.groups.get( v );