From 711da7c7e515cd2c4867458fe63b98f078e65ad3 Mon Sep 17 00:00:00 2001 From: WanionCane Date: Mon, 7 Nov 2016 17:06:48 -0200 Subject: [PATCH] really small fix that was messing whit a lot of things. --- src/main/java/wanion/lib/recipe/RecipeHelper.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/wanion/lib/recipe/RecipeHelper.java b/src/main/java/wanion/lib/recipe/RecipeHelper.java index 38b61f4..8b9cc30 100644 --- a/src/main/java/wanion/lib/recipe/RecipeHelper.java +++ b/src/main/java/wanion/lib/recipe/RecipeHelper.java @@ -44,9 +44,9 @@ public final class RecipeHelper if (key instanceof Integer) keyStackMap.put((Integer) key, (ItemStack) objects[index]); if (thingToCharMap.containsKey(key)) - almostTheShape[x][y] = thingToCharMap.get(key); + almostTheShape[y][x] = thingToCharMap.get(key); else - thingToCharMap.put(key, almostTheShape[x][y] = (char) f++); + thingToCharMap.put(key, almostTheShape[y][x] = (char) f++); } } final Object[] shape = new Object[squareRoot + thingToCharMap.size() * 2]; @@ -76,9 +76,9 @@ public final class RecipeHelper if (key instanceof Integer) keyStackMap.put((Integer) key, (ItemStack) inputArray[x]); if (thingToCharMap.containsKey(key)) - almostTheShape[x][y] = thingToCharMap.get(key); + almostTheShape[y][x] = thingToCharMap.get(key); else - thingToCharMap.put(key, almostTheShape[x][y] = (char) f++); + thingToCharMap.put(key, almostTheShape[y][x] = (char) f++); } } final Object[] shape = new Object[objects.length + thingToCharMap.size() * 2];