mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-19 11:59:11 +00:00
Fix Size MultiFenceRecipe
This commit is contained in:
1 parent
aa1e797cf7
commit
d1306b174c
1 file changed
+2
-2
+2
-2
@@ -89,14 +89,14 @@ public class MultiFenceRecipeSizeWrapper extends BlankRecipeWrapper {
|
||||
List<ItemStack> outputs = new ArrayList<>();
|
||||
itemOutputs.add(outputs);
|
||||
for(int i = 0;i < size;i++){
|
||||
ItemStack item = types.get(0).get(i);
|
||||
ItemStack itemSecond = types.get(1).get(i);
|
||||
IPlankType plankType = this.plankType;
|
||||
if(plankType == null){
|
||||
ItemStack item = types.get(0).get(i);
|
||||
plankType = WoodManager.getPlankType(item);
|
||||
}
|
||||
IPlankType plankTypeSecond = this.plankTypeSecond;
|
||||
if(plankTypeSecond == null){
|
||||
ItemStack itemSecond = types.get(1).get(i);
|
||||
plankTypeSecond = WoodManager.getPlankType(itemSecond);
|
||||
}
|
||||
outputs.add(pattern.createFence(plankType, plankTypeSecond));
|
||||
|
||||
Reference in new issue
Block a user