mirror of
https://github.com/GTNewHorizons/WanionLib.git
synced 2026-11-23 21:59:46 +00:00
really small fix that was messing whit a lot of things.
This commit is contained in:
1 parent
ac040f7157
commit
711da7c7e5
1 file changed
+4
-4
@@ -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];
|
||||
|
||||
Reference in new issue
Block a user