Skip to content

Commit

Permalink
chore: improve requiresItemUse handling in ritual recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
klikli-dev committed Aug 29, 2024
1 parent 8d37c9b commit 08e1618
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ public boolean requiresSacrifice() {
}

public boolean requiresItemUse() {
return this.itemToUse != Ingredient.EMPTY;
return this.itemToUse != null && !this.itemToUse.isEmpty();
}

public @Nullable EntityType<?> getEntityToSummon() {
Expand Down

0 comments on commit 08e1618

Please sign in to comment.