1.7.10-1.7

This commit is contained in:
WanionCane committed 2017-04-15 10:25:04 -03:00
1 parent 8ec13988de
commit a1ba002ca7
1 file changed
+1 -1
@@ -82,7 +82,7 @@ public abstract class AbstractRecipeRegistry<R extends IAdvancedRecipe>
for (int x = 0; x < width; x++)
if (inventoryCrafting.getStackInSlot((offSetY + y) * root + (offSetX + x)) != null)
recipeSize++;
final List<R> recipeList = recipeMap.containsKey((recipeKey |= (width << 8) + (height << 12))) ? recipeMap.get(recipeKey) : recipeMap.get(recipeSize);
final List<R> recipeList = recipeMap.containsKey((recipeKey |= recipeSize | (width << 8) | (height << 12))) ? recipeMap.get(recipeKey) : recipeMap.get(recipeSize);
if (recipeList != null)
for (R recipe : recipeList)
if (recipe.recipeMatch(inventoryCrafting, offSetX, offSetY))