Skip to content

Commit

Permalink
Bandaid patch for #2
Browse files Browse the repository at this point in the history
  • Loading branch information
SnowSnakz authored Mar 25, 2023
1 parent e0036ee commit f3ec612
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/src/main/java/com/elementalwoof/foods/ElementalFoods.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ void ensureUnlocks(Player player)
{
if(ci.recipe != null)
{
// HotFix for #2
if(ci.recipeKey == null)
continue;

if(ci.recipe.automaticallyUnlock)
{
if(!player.hasDiscoveredRecipe(ci.recipeKey))
Expand Down

0 comments on commit f3ec612

Please sign in to comment.