fix #3071
This commit is contained in:
parent
ca6b6647ed
commit
abd1330031
|
@ -1,5 +1,7 @@
|
|||
Bugs fixed:
|
||||
|
||||
* [#3072] PipeTransportFluids crash (proper fix) (asie)
|
||||
* [#3071] Filled cylinder pattern incorrect (asie)
|
||||
* [#3069, #2865] Fluid pipe extraction speed ~25% lower than intended (asie, mconwa01)
|
||||
* Filler not changing pattern on parameter change (asie)
|
||||
* Rotated quarry not detecting its own frame (asie)
|
||||
|
|
|
@ -368,6 +368,7 @@ public class TileFiller extends TileAbstractBuilder implements IHasWork, IContro
|
|||
NBTTagCompound patternData = NetworkUtils.readNBT(stream);
|
||||
readParametersFromNBT(patternData);
|
||||
|
||||
currentTemplate = null;
|
||||
done = false;
|
||||
} else if ("setFlags".equals(command)) {
|
||||
excavate = stream.readBoolean();
|
||||
|
|
|
@ -61,6 +61,7 @@ public class PatternCylinder extends FillerPattern {
|
|||
|
||||
if (xRadius == 0 || zRadius == 0) {
|
||||
fill(xMin, yMin, zMin, xMax, yMax, zMax, result);
|
||||
return result;
|
||||
}
|
||||
|
||||
int dx = xRadius, dz = 0;
|
||||
|
@ -105,8 +106,13 @@ public class PatternCylinder extends FillerPattern {
|
|||
|
||||
if (twoBSquare > 0) {
|
||||
while (stoppingX <= stoppingZ) {
|
||||
fillFourColumns(xCenter, zCenter, dx, dz, xFix, zFix, yMin,
|
||||
yMax, result);
|
||||
if (filled) {
|
||||
fillSquare(xCenter, zCenter, dx, dz, xFix, zFix, yMin,
|
||||
yMax, result);
|
||||
} else {
|
||||
fillFourColumns(xCenter, zCenter, dx, dz, xFix, zFix, yMin,
|
||||
yMax, result);
|
||||
}
|
||||
|
||||
++dx;
|
||||
stoppingX += twoBSquare;
|
||||
|
|
Loading…
Reference in a new issue