Fixed small issue when not copying the item stack, might help #83
This commit is contained in:
parent
28df7504c5
commit
96d5304d07
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ public class ItemUtils {
|
||||||
ArrayList<ItemStack> list = new ArrayList<ItemStack>();
|
ArrayList<ItemStack> list = new ArrayList<ItemStack>();
|
||||||
for (int oreID : OreDictionary.getOreIDs(stack)) {
|
for (int oreID : OreDictionary.getOreIDs(stack)) {
|
||||||
for (ItemStack ore : OreDictionary.getOres(OreDictionary.getOreName(oreID))) {
|
for (ItemStack ore : OreDictionary.getOres(OreDictionary.getOreName(oreID))) {
|
||||||
ItemStack newOre = ore;
|
ItemStack newOre = ore.copy();
|
||||||
newOre.stackSize = stack.stackSize;
|
newOre.stackSize = stack.stackSize;
|
||||||
list.add(newOre);
|
list.add(newOre);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue