mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-28 07:36:01 +00:00
Finished Digital Miner visual render functionality, also fixed a few issues with gas tanks
This commit is contained in:
1 parent
69a411813e
commit
0416e2e904
11 files changed
+40
-54
No files matched your search
@@ -94,12 +94,12 @@ public class TileEntityChemicalInfuser extends TileEntityElectricBlock implement
|
||||
|
||||
if(inventory[0] != null && (leftTank.getGas() == null || leftTank.getStored() < leftTank.getMaxGas()))
|
||||
{
|
||||
leftTank.receive(GasTransmission.removeGas(inventory[0], null, leftTank.getNeeded()), true);
|
||||
leftTank.receive(GasTransmission.removeGas(inventory[0], leftTank.getGasType(), leftTank.getNeeded()), true);
|
||||
}
|
||||
|
||||
if(inventory[1] != null && (rightTank.getGas() == null || rightTank.getStored() < rightTank.getMaxGas()))
|
||||
{
|
||||
rightTank.receive(GasTransmission.removeGas(inventory[1], null, rightTank.getNeeded()), true);
|
||||
rightTank.receive(GasTransmission.removeGas(inventory[1], leftTank.getGasType(), rightTank.getNeeded()), true);
|
||||
}
|
||||
|
||||
if(inventory[2] != null && centerTank.getGas() != null)
|
||||
|
||||
Reference in new issue
Block a user