Secondary gem moved to eventHandler. Closes #1365

This commit is contained in:
drcrazy 2017-12-15 16:43:48 +03:00
parent 376f02df26
commit 6c7f9078ec
3 changed files with 94 additions and 80 deletions

View file

@ -106,7 +106,7 @@ public class OreDictUtils {
public static boolean isOre(
@Nonnull
ItemStack stack, String oreName) {
if (!stack.isEmpty() && !stack.isEmpty() && oreName != null) {
if (!stack.isEmpty() && oreName != null) {
int id = OreDictionary.getOreID(oreName);
int[] ids = OreDictionary.getOreIDs(stack);