mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-21 20:42:17 +00:00
A few ejector fixes
This commit is contained in:
1 parent
a22b33a629
commit
06dc2227f2
5 files changed
+51
-43
No files matched your search
@@ -15,7 +15,6 @@ import mekanism.api.gas.GasTransmission;
|
||||
import mekanism.api.transmitters.TransmissionType;
|
||||
import mekanism.common.SideData;
|
||||
import mekanism.common.base.IEjector;
|
||||
import mekanism.common.base.ILogisticalTransporter;
|
||||
import mekanism.common.base.ISideConfiguration;
|
||||
import mekanism.common.base.ITankManager;
|
||||
import mekanism.common.base.ITileComponent;
|
||||
@@ -121,7 +120,7 @@ public class TileComponentEjector implements ITileComponent, IEjector
|
||||
if(tank.getStored() > 0)
|
||||
{
|
||||
GasStack toEmit = tank.getGas().copy().withAmount(Math.min(GAS_OUTPUT, tank.getStored()));
|
||||
int emit = GasTransmission.emit(outputSides, toEmit, tileEntity);
|
||||
int emit = GasTransmission.emit(toEmit, tileEntity, outputSides);
|
||||
tank.draw(emit, true);
|
||||
}
|
||||
}
|
||||
@@ -146,7 +145,6 @@ public class TileComponentEjector implements ITileComponent, IEjector
|
||||
public List<ForgeDirection> getOutputSides(TransmissionType type, SideData data)
|
||||
{
|
||||
List<ForgeDirection> outputSides = new ArrayList<ForgeDirection>();
|
||||
|
||||
ISideConfiguration configurable = (ISideConfiguration)tileEntity;
|
||||
|
||||
for(int i = 0; i < configurable.getConfig().getConfig(type).length; i++)
|
||||
|
||||
Reference in new issue
Block a user