use correct stacksizes
This commit is contained in:
@@ -124,6 +124,8 @@ public class CraftingPattern implements ICraftingPattern {
|
|||||||
.mapToObj(OreDictionary::getOreName)
|
.mapToObj(OreDictionary::getOreName)
|
||||||
.map(OreDictionary::getOres)
|
.map(OreDictionary::getOres)
|
||||||
.flatMap(List::stream)
|
.flatMap(List::stream)
|
||||||
|
.map(ItemStack::copy)
|
||||||
|
.map(s -> {s.stackSize = input.stackSize; return s;})
|
||||||
.collect(Collectors.toList()));
|
.collect(Collectors.toList()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user