Fixed a crash on world loading

This commit is contained in:
Adubbz 2016-11-16 19:39:37 +11:00
parent b42cd57cc9
commit 4956eb5071
1 changed files with 4 additions and 4 deletions

View File

@ -20,16 +20,16 @@ import net.minecraftforge.oredict.RecipeSorter;
public class BiomeEssenceRecipe implements IRecipe
{
static {
RecipeSorter.register("BiomesOPlenty:biomeessenceRecipe", BiomeEssenceRecipe.class, RecipeSorter.Category.SHAPELESS, "after:minecraft:shapeless");
RecipeSorter.register("biomesoplenty:biomeessenceRecipe", BiomeEssenceRecipe.class, RecipeSorter.Category.SHAPELESS, "after:minecraft:shapeless");
}
private ItemStack recipeOutput;
private ItemStack recipeOutput = ItemStack.field_190927_a;
@Override
public boolean matches(InventoryCrafting inventoryCrafting, World world)
{
ItemStack biomeRadar = null;
ItemStack biomeEssence = null;
ItemStack biomeRadar = ItemStack.field_190927_a;
ItemStack biomeEssence = ItemStack.field_190927_a;
for (int i = 0; i < 3; ++i)
{