Fixed #276 - Wire breaking returning copper
This commit is contained in:
parent
6465b40bb4
commit
d3dca5ba03
|
@ -297,7 +297,7 @@ public class PartFramedWire extends PartFramedConnection<EnumWireMaterial, ICond
|
|||
@Override
|
||||
protected ItemStack getItem()
|
||||
{
|
||||
return new ItemStack(Electrical.itemWire);
|
||||
return new ItemStack(Electrical.itemWire, 1, getMaterialID());
|
||||
}
|
||||
|
||||
}
|
|
@ -118,11 +118,11 @@ public class PipeNetwork extends FluidNetwork
|
|||
/**
|
||||
* Apply "gravity pressure"
|
||||
*/
|
||||
if (i == 0)
|
||||
/*if (i == 0)
|
||||
pressure -= 25;
|
||||
else if (i == 1)
|
||||
pressure += 25;
|
||||
|
||||
*/
|
||||
minPressure = Math.min(pressure, minPressure);
|
||||
maxPressure = Math.max(pressure, maxPressure);
|
||||
totalPressure += pressure;
|
||||
|
|
Loading…
Reference in a new issue