Merge branch '1.7.10' into 100-bug-uncraftable-electrolytic-core

This commit is contained in:
Magnar authored and GitHub committed 2023-05-26 21:47:34 +02:00
commit a60cf430f5
3 files changed
+6 -4

No files matched your search

@@ -52,7 +52,8 @@ public class RenderThermalEvaporationController extends TileEntitySpecialRendere
MekanismRenderer.glowOn(tileEntity.inputTank.getFluid().getFluid().getLuminosity());
DisplayInteger[] displayList = getListAndRender(data, tileEntity.inputTank.getFluid().getFluid());
displayList[(int)(((float)tileEntity.inputTank.getFluidAmount()/tileEntity.inputTank.getCapacity())*((float)getStages(data.height)-1))].render();
displayList[(int) (((float) tileEntity.inputTank.getFluidAmount() / tileEntity.inputTank.getCapacity()) * ((float) getStages(data.height) - 1))].render();
MekanismRenderer.glowOff();
@@ -84,7 +84,7 @@ public class TileEntityFluidicPlenisher extends TileEntityElectricBlock implemen
{
ChargeUtils.discharge(2, this);
if(inventory[0] != null)
if(inventory[0] != null && fluidTank.getFluidAmount() <= (fluidTank.getCapacity() - 1000))
{
if(inventory[0].getItem() instanceof IFluidContainerItem)
{
@@ -102,8 +102,9 @@ public class TileEntityThermalEvaporationController extends TileEntityThermalEva
{
updateTemperature();
}
manageBuckets();
if (inputTank.getFluidAmount() <= (inputTank.getCapacity() - 1001)) {
manageBuckets();
}
ThermalEvaporationRecipe recipe = getRecipe();