diff --git a/src/main/java/goodgenerator/blocks/tileEntity/MTEPreciseAssembler.java b/src/main/java/goodgenerator/blocks/tileEntity/MTEPreciseAssembler.java index 24b80f5ef80..0311544a64e 100644 --- a/src/main/java/goodgenerator/blocks/tileEntity/MTEPreciseAssembler.java +++ b/src/main/java/goodgenerator/blocks/tileEntity/MTEPreciseAssembler.java @@ -78,6 +78,7 @@ import gregtech.api.util.MultiblockTooltipBuilder; import gregtech.api.util.OverclockCalculator; import gregtech.common.tileentities.machines.IDualInputHatch; +import gregtech.common.tileentities.machines.ISmartInputHatch; import mcp.mobius.waila.api.IWailaConfigHandler; import mcp.mobius.waila.api.IWailaDataAccessor; import tectech.thing.metaTileEntity.hatch.MTEHatchEnergyMulti; @@ -179,6 +180,12 @@ public boolean addToPAssList(IGregTechTileEntity aTileEntity, int aBaseCasingInd if (aMetaTileEntity == null) { return false; } + if (aMetaTileEntity instanceof ISmartInputHatch hatch) { + // Only add them to be iterated if enabled for performance reasons + if (hatch.doFastRecipeCheck()) { + mSmartInputHatches.add(hatch); + } + } if (aMetaTileEntity instanceof MTEHatchInput) { return mInputHatches.add((MTEHatchInput) aMetaTileEntity); }