From 96d5304d079c740492dfecfb2d7894a24197abf1 Mon Sep 17 00:00:00 2001 From: modmuss50 Date: Fri, 11 Sep 2015 13:25:33 +0100 Subject: [PATCH] Fixed small issue when not copying the item stack, might help #83 --- src/main/java/techreborn/util/ItemUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/techreborn/util/ItemUtils.java b/src/main/java/techreborn/util/ItemUtils.java index b2ab0e262..c81f9d4b0 100644 --- a/src/main/java/techreborn/util/ItemUtils.java +++ b/src/main/java/techreborn/util/ItemUtils.java @@ -106,7 +106,7 @@ public class ItemUtils { ArrayList list = new ArrayList(); 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); }