Skip to content

Commit 694d97b

Browse files
match deprecated behaviour
1 parent 698d225 commit 694d97b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/main/java/gregtech/api/capability/impl/AbstractRecipeLogic.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,10 @@ protected Recipe findRecipe(long maxVoltage, IItemHandlerModifiable inputs, IMul
238238
*/
239239
@Deprecated
240240
protected boolean checkRecipeInputsDirty(IItemHandler inputs, IMultipleTankHandler fluidInputs) {
241-
return this.hasNotifiedInputs();
241+
boolean isDirty = this.hasNotifiedInputs();
242+
metaTileEntity.getNotifiedItemInputList().clear();
243+
metaTileEntity.getNotifiedFluidInputList().clear();
244+
return isDirty;
242245
}
243246

244247
protected static boolean areItemStacksEqual(ItemStack stackA, ItemStack stackB) {

0 commit comments

Comments
 (0)