Fixed another transition issue

This commit is contained in:
Aidan C. Brady 2015-03-22 16:16:01 -04:00
parent 2b2d9d69b3
commit c7d3b77112

View file

@ -217,11 +217,14 @@ public class MekanismRecipe implements IRecipe
Map<Upgrade, Integer> stackMap = Upgrade.buildMap(itemstack.stackTagCompound);
for(Map.Entry<Upgrade, Integer> entry : stackMap.entrySet())
{
if(entry != null && entry.getKey() != null && entry.getValue() != null)
{
upgrades.put(entry.getKey(), Math.min(entry.getKey().getMax(), upgrades.get(entry.getKey()) + entry.getValue()));
}
}
}
}
if(toReturn.stackTagCompound == null)
{