mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 14:52:58 +00:00
Fix creative gas tank actually withdrawing gas when auto eject is false and a tube is pulling out of it
This commit is contained in:
1 file changed
+1
-1
@@ -184,7 +184,7 @@ public class TileEntityGasTank extends TileEntityContainerBlock implements IGasH
|
||||
@Override
|
||||
public GasStack drawGas(EnumFacing side, int amount, boolean doTransfer) {
|
||||
if (canDrawGas(side, null)) {
|
||||
return gasTank.draw(amount, doTransfer);
|
||||
return gasTank.draw(amount, doTransfer && tier != GasTankTier.CREATIVE);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user