Fix NEI Plugin to work with new Recipe Setup.

Added Config option to not show colored cables in recipes.
Fortify Recipe System vs OreDicionary Late entries.
This commit is contained in:
AlgorithmX2
2014-07-25 19:31:12 -05:00
parent 31cb594f4d
commit 99f15f36b7
9 changed files with 132 additions and 47 deletions
+5 -4
View File
@@ -17,7 +17,7 @@ public class IngredientSet implements IIngredient
final String name;
final List<ItemStack> items;
ItemStack[] baked;
public IngredientSet(ResolverResultSet rr) {
name = rr.name;
items = rr.results;
@@ -47,7 +47,7 @@ public class IngredientSet implements IIngredient
{
if ( baked != null )
return baked;
if ( isInside )
return new ItemStack[0];
@@ -79,11 +79,12 @@ public class IngredientSet implements IIngredient
{
return false;
}
@Override
public void bake() throws RegistrationError, MissingIngredientError
{
baked = null;
baked = getItemStackSet();
}
}