mirror of
https://github.com/GTNewHorizons/WanionLib.git
synced 2026-11-19 20:09:42 +00:00
1.7.10-1.7
This commit is contained in:
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))
|
||||
|
||||
Reference in new issue
Block a user