mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-17 11:05:40 +00:00
Fix null check in BrewingRecipeRegistry (#3584)
This commit is contained in:
1 parent
c4dea9fc66
commit
4b627a3672
1 file changed
+1
-1
@@ -96,7 +96,7 @@ public class BrewingRecipeRegistry {
|
||||
for (IBrewingRecipe recipe : recipes)
|
||||
{
|
||||
ItemStack output = recipe.getOutput(input, ingredient);
|
||||
if (output != null)
|
||||
if (!output.isEmpty())
|
||||
{
|
||||
return output;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user