Update recipe builder build not checking correct value

This commit is contained in:
alexcrea 2024-11-15 14:32:22 +01:00
parent cafbb0ef08
commit 8af77d31c3
No known key found for this signature in database
GPG key ID: 43FD265DB0DBF91F

View file

@ -182,7 +182,7 @@ public class AnvilRecipeBuilder {
*/
@Nullable // null if missing argument
public AnvilCustomRecipe build() {
if(leftItem == null || rightItem == null) return null;
if(leftItem == null || resultItem == null) return null;
return new AnvilCustomRecipe(
this.name,