Merge pull request #1713 from Lazersmoke/lens-recipe-fix

Fixes mana lens dyeing, closing #1708
This commit is contained in:
Jonathan Smith committed 2016-01-04 10:14:21 +00:00
commit e89322083d
1 file changed
+2 -1
@@ -44,6 +44,7 @@ public class LensDyeingRecipe implements IRecipe {
foundDye = true;
else return false;
}
else return false;//This means we have an additional item in the recipe after the lens and dye
}
}
@@ -60,7 +61,7 @@ public class LensDyeingRecipe implements IRecipe {
if(stack != null) {
if(stack.getItem() instanceof ILens && lens == null)
lens = stack;
else color = getStackColor(stack);
else color = getStackColor(stack);//We can assume if its not a lens its a dye because we checked it in matches()
}
}