mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 11:49:37 +00:00
Fix a NPE crash in the lexicon search
(cherry picked from commit d7aa7e4241d3a694e56c6c55c0375305a9ee7ace)
This commit is contained in:
1 parent
bd2be73856
commit
ba438bf6bd
1 file changed
+3
-1
@@ -99,7 +99,9 @@ public class PageBrew extends PageRecipe implements ITwoNamedPage {
|
||||
@Override
|
||||
public List<ItemStack> getDisplayedRecipes() {
|
||||
ArrayList<ItemStack> list = new ArrayList();
|
||||
list.add(recipe.getOutput(new ItemStack(ModItems.vial)));
|
||||
if (recipe != null) {
|
||||
list.add(recipe.getOutput(new ItemStack(ModItems.vial)));
|
||||
}
|
||||
return list;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user