mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 06:42:56 +00:00
fix render crash due to overflow #117
this stops infinite water bucket overflowing thermal evaporation controller also stops overflowing on fluidic plenisher unknown if other machines are affected
This commit is contained in:
2 files changed
+4
-3
No files matched your search
@@ -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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user