fixed input stack size
This commit is contained in:
parent
b2fcb98003
commit
6bd2818e74
1 changed files with 3 additions and 1 deletions
|
@ -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()){
|
||||
|
|
Loading…
Add table
Reference in a new issue