Rename method to reflect the 1.11 changes.
This commit is contained in:
parent
d53f4dafc1
commit
463740ac99
2 changed files with 4 additions and 4 deletions
|
@ -56,7 +56,7 @@ public class OreDictUtils {
|
|||
}
|
||||
|
||||
@Nonnull
|
||||
public static ItemStack getDictOreOrNull(String name, int amount) {
|
||||
public static ItemStack getDictOreOrEmpty(String name, int amount) {
|
||||
List<ItemStack> ores = OreDictionary.getOres(name);
|
||||
if (ores.isEmpty())
|
||||
return ItemStack.EMPTY;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue