This commit is contained in:
modmuss50 2017-01-18 15:18:43 +00:00
parent 4e0878b182
commit fb83e98707
No known key found for this signature in database
GPG key ID: 203A5ED4D3E48BEA

View file

@ -60,7 +60,7 @@ public class OreDictUtils {
List<ItemStack> ores = OreDictionary.getOres(name);
if (ores.isEmpty())
return ItemStack.EMPTY;
ItemStack ore = ores.get(0);
ItemStack ore = ores.get(0).copy();
ore.setCount(amount);
return ore;
}