fixes #914
This commit is contained in:
parent
4e0878b182
commit
fb83e98707
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ public class OreDictUtils {
|
||||||
List<ItemStack> ores = OreDictionary.getOres(name);
|
List<ItemStack> ores = OreDictionary.getOres(name);
|
||||||
if (ores.isEmpty())
|
if (ores.isEmpty())
|
||||||
return ItemStack.EMPTY;
|
return ItemStack.EMPTY;
|
||||||
ItemStack ore = ores.get(0);
|
ItemStack ore = ores.get(0).copy();
|
||||||
ore.setCount(amount);
|
ore.setCount(amount);
|
||||||
return ore;
|
return ore;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue