Skip to content

Commit

Permalink
match deprecated behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
PrototypeTrousers committed Jun 5, 2021
1 parent 3fe2797 commit cfcf226
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,10 @@ protected Recipe findRecipe(long maxVoltage, IItemHandlerModifiable inputs, IMul
*/
@Deprecated
protected boolean checkRecipeInputsDirty(IItemHandler inputs, IMultipleTankHandler fluidInputs) {
return this.hasNotifiedInputs();
boolean isDirty = this.hasNotifiedInputs();
metaTileEntity.getNotifiedItemInputList().clear();
metaTileEntity.getNotifiedFluidInputList().clear();
return isDirty;
}

protected static boolean areItemStacksEqual(ItemStack stackA, ItemStack stackB) {
Expand Down

0 comments on commit cfcf226

Please sign in to comment.