Fixed small issue when not copying the item stack, might help #83

This commit is contained in:
modmuss50 2015-09-11 13:25:33 +01:00
parent 28df7504c5
commit 96d5304d07

View file

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