mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-16 01:55:15 +00:00
Merge pull request #1713 from Lazersmoke/lens-recipe-fix
Fixes mana lens dyeing, closing #1708
This commit is contained in:
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()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user