File tree Expand file tree Collapse file tree 2 files changed +4
-18
lines changed
src/main/java/gregtech/api Expand file tree Collapse file tree 2 files changed +4
-18
lines changed Original file line number Diff line number Diff line change @@ -145,8 +145,8 @@ protected boolean canFitNewOutputs() {
145145 if (this .isOutputsFull && !hasNotifiedOutputs ()) return false ;
146146 else {
147147 this .isOutputsFull = false ;
148- metaTileEntity .removeNotifiedOutput ( getOutputInventory () );
149- metaTileEntity .removeNotifiedOutput ( getOutputTank () );
148+ metaTileEntity .getNotifiedItemOutputList (). clear ( );
149+ metaTileEntity .getNotifiedFluidOutputList (). clear ( );
150150 }
151151 return true ;
152152 }
@@ -209,8 +209,8 @@ protected void trySearchNewRecipe() {
209209 if (currentRecipe != null && setupAndConsumeRecipeInputs (currentRecipe ))
210210 setupRecipe (currentRecipe );
211211 // Inputs have been inspected.
212- metaTileEntity .removeNotifiedInput ( importInventory );
213- metaTileEntity .removeNotifiedInput ( importFluids );
212+ metaTileEntity .getNotifiedItemInputList (). clear ( );
213+ metaTileEntity .getNotifiedFluidInputList (). clear ( );
214214 }
215215
216216 public void forceRecipeRecheck () {
Original file line number Diff line number Diff line change @@ -283,20 +283,6 @@ public <T> void addNotifiedOutput(T output) {
283283 }
284284 }
285285
286- public <T > void removeNotifiedInput (T input ) {
287- if (input instanceof IItemHandlerModifiable )
288- this .notifiedItemInputList .remove (input );
289- else if (input instanceof FluidTank )
290- this .notifiedFluidInputList .remove (input );
291- }
292-
293- public <T > void removeNotifiedOutput (T input ) {
294- if (input instanceof IItemHandlerModifiable )
295- this .notifiedItemOutputList .remove (input );
296- else if (input instanceof FluidTank )
297- this .notifiedFluidOutputList .remove (input );
298- }
299-
300286 /**
301287 * Adds a trait to this meta tile entity
302288 * traits are objects linked with meta tile entity and performing certain
You can’t perform that action at this time.
0 commit comments