Rename method to reflect the 1.11 changes.

This commit is contained in:
modmuss50 2016-12-05 11:19:37 +00:00
parent d53f4dafc1
commit 463740ac99
2 changed files with 4 additions and 4 deletions

View file

@ -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;