mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 16:16:17 +02:00
Update recipe builder build not checking correct value
This commit is contained in:
parent
cafbb0ef08
commit
8af77d31c3
1 changed files with 1 additions and 1 deletions
|
|
@ -182,7 +182,7 @@ public class AnvilRecipeBuilder {
|
||||||
*/
|
*/
|
||||||
@Nullable // null if missing argument
|
@Nullable // null if missing argument
|
||||||
public AnvilCustomRecipe build() {
|
public AnvilCustomRecipe build() {
|
||||||
if(leftItem == null || rightItem == null) return null;
|
if(leftItem == null || resultItem == null) return null;
|
||||||
|
|
||||||
return new AnvilCustomRecipe(
|
return new AnvilCustomRecipe(
|
||||||
this.name,
|
this.name,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue