fixed input stack size

This commit is contained in:
modmuss50 2015-05-16 16:55:54 +01:00
parent b2fcb98003
commit 6bd2818e74

View file

@ -117,7 +117,9 @@ public class ItemUtils {
ArrayList<ItemStack> list = new ArrayList<ItemStack>();
for (int oreID : OreDictionary.getOreIDs(stack)){
for(ItemStack ore : OreDictionary.getOres(OreDictionary.getOreName(oreID))){
list.add(ore);
ItemStack newOre = stack;
newOre.stackSize = stack.stackSize;
list.add(newOre);
}
}
if(list.isEmpty()){