@@ -116,10 +116,7 @@ public EvaporationMultiblockData(TileEntityThermalEvaporationBlock tile) {
116116 //Default biome temp to the ambient temperature at the block we are at
117117 biomeAmbientTemp = HeatAPI .getAmbientTemp (tile .getLevel (), tile .getBlockPos ());
118118 fluidTanks .add (inputTank = VariableCapacityFluidTank .input (this , this ::getMaxFluid , this ::containsRecipe , createSaveAndComparator (recipeCacheLookupMonitor )));
119- fluidTanks .add (outputTank = VariableCapacityFluidTank .output (this , MekanismConfig .general .evaporationOutputTankCapacity , BasicFluidTank .alwaysTrue , () -> {
120- onContentsChanged ();
121- recipeCacheLookupMonitor .unpause ();
122- }));
119+ fluidTanks .add (outputTank = VariableCapacityFluidTank .output (this , MekanismConfig .general .evaporationOutputTankCapacity , BasicFluidTank .alwaysTrue , this ));
123120 inputHandler = InputHelper .getInputHandler (inputTank , RecipeError .NOT_ENOUGH_INPUT );
124121 outputHandler = OutputHelper .getOutputHandler (outputTank , RecipeError .NOT_ENOUGH_OUTPUT_SPACE );
125122 inventorySlots .add (inputInputSlot = FluidInventorySlot .fill (inputTank , this , 28 , 20 ));
@@ -140,6 +137,14 @@ public void onCreated(Level world) {
140137 updateSolars (world );
141138 }
142139
140+ @ Override
141+ public void onContentsChanged () {
142+ super .onContentsChanged ();
143+ if (getTemperature () > HeatAPI .AMBIENT_TEMP ) {
144+ recipeCacheLookupMonitor .unpause ();
145+ }
146+ }
147+
143148 @ Override
144149 public boolean tick (Level world ) {
145150 boolean needsPacket = super .tick (world );
0 commit comments