Another build fix attempt
This commit is contained in:
parent
4644e75202
commit
8b9098b350
2 changed files with 5 additions and 3 deletions
|
@ -78,7 +78,7 @@ public class BoilerUpdateProtocol extends UpdateProtocol<SynchronizedBoilerData>
|
|||
}
|
||||
|
||||
//Find a single disperser contained within this multiblock
|
||||
Coord4D initDisperser = dispersers.iterator().next();
|
||||
final Coord4D initDisperser = dispersers.iterator().next();
|
||||
|
||||
//Ensure that a full horizontal plane of dispersers exist, surrounding the found disperser
|
||||
for(int x = structure.renderLocation.xCoord+1; x < structure.renderLocation.xCoord+structure.volLength-1; x++)
|
||||
|
@ -143,9 +143,11 @@ public class BoilerUpdateProtocol extends UpdateProtocol<SynchronizedBoilerData>
|
|||
return false;
|
||||
}
|
||||
|
||||
final Coord4D renderLocation = structure.renderLocation.clone();
|
||||
|
||||
structure.waterVolume = new NodeCounter(new NodeChecker() {
|
||||
@Override
|
||||
public final boolean isValid(Coord4D coord)
|
||||
public final boolean isValid(final Coord4D coord)
|
||||
{
|
||||
return coord.yCoord >= structure.renderLocation.yCoord-1 && coord.yCoord < initDisperser.yCoord &&
|
||||
coord.xCoord >= structure.renderLocation.xCoord && coord.xCoord < structure.renderLocation.xCoord+structure.volLength &&
|
||||
|
|
|
@ -581,7 +581,7 @@ public abstract class UpdateProtocol<T extends SynchronizedData<T>>
|
|||
|
||||
public static abstract class NodeChecker
|
||||
{
|
||||
public abstract boolean isValid(Coord4D coord);
|
||||
public abstract boolean isValid(final Coord4D coord);
|
||||
|
||||
public boolean shouldContinue(int iterated)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue