Skip to content

Commit

Permalink
small change to recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfieboy09 committed Nov 7, 2024
1 parent bd86c4f commit cfc7dbe
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ public boolean matches(RecipeWrapper input, Level level) {
}
}

for (Ingredient extra : this.mainItems) {
if (!extra.test(input.getItem(DiskAssemblerBlockEntity.DiskAssemblerSlot.MAIN_SLOT_1))
&& !extra.test(input.getItem(DiskAssemblerBlockEntity.DiskAssemblerSlot.MAIN_SLOT_2))
&& !extra.test(input.getItem(DiskAssemblerBlockEntity.DiskAssemblerSlot.MAIN_SLOT_3))) {
for (Ingredient main : this.mainItems) {
if (!main.test(input.getItem(DiskAssemblerBlockEntity.DiskAssemblerSlot.MAIN_SLOT_1))
&& !main.test(input.getItem(DiskAssemblerBlockEntity.DiskAssemblerSlot.MAIN_SLOT_2))
&& !main.test(input.getItem(DiskAssemblerBlockEntity.DiskAssemblerSlot.MAIN_SLOT_3))) {
ingredientsMatch = false;
}
}
Expand Down

0 comments on commit cfc7dbe

Please sign in to comment.