diff --git a/src/main/java/resonantinduction/machine/grinder/TileGrinderWheel.java b/src/main/java/resonantinduction/machine/grinder/TileGrinderWheel.java index c073f063..cf0eec20 100644 --- a/src/main/java/resonantinduction/machine/grinder/TileGrinderWheel.java +++ b/src/main/java/resonantinduction/machine/grinder/TileGrinderWheel.java @@ -60,7 +60,7 @@ public class TileGrinderWheel extends TileElectrical public boolean canGrind(ItemStack itemStack) { - return MachineRecipes.INSTANCE.getRecipe(RecipeType.GRINDER, itemStack).length > 0; + return MachineRecipes.INSTANCE.getRecipe(RecipeType.GRINDER, itemStack) == null ? false : MachineRecipes.INSTANCE.getRecipe(RecipeType.GRINDER, itemStack).length > 0; } private void doGrind(EntityItem entity) diff --git a/src/main/resources/assets/resonantinduction/languages/en_US.properties b/src/main/resources/assets/resonantinduction/languages/en_US.properties index a6a3c49d..8ecf3782 100644 --- a/src/main/resources/assets/resonantinduction/languages/en_US.properties +++ b/src/main/resources/assets/resonantinduction/languages/en_US.properties @@ -14,7 +14,7 @@ tile.resonantinduction\:tesla.name=Tesla Coil tile.resonantinduction\:contractor.name=Electromagnetic Levitator tile.resonantinduction\:battery.name=Battery tile.resonantinduction\:machinePart.name=Machine Part -tile.resonantinduction\:grindingWheel.name=Grinding Wheel +tile.resonantinduction\:grindingWheel.name=Grinder Wheel tile.resonantinduction\:filter.name=Filter ## Items