Merge branch 'development' into networkRefactor
This commit is contained in:
commit
1997054bad
1 changed files with 9 additions and 4 deletions
|
@ -83,11 +83,16 @@ public class ThreadSparkle extends Thread
|
||||||
|
|
||||||
for(ForgeDirection side : ForgeDirection.VALID_DIRECTIONS)
|
for(ForgeDirection side : ForgeDirection.VALID_DIRECTIONS)
|
||||||
{
|
{
|
||||||
TileEntity tile = Coord4D.get(tileEntity).getFromSide(side).getTileEntity(pointer.getWorldObj());
|
Coord4D coord = Coord4D.get(tileEntity).getFromSide(side);
|
||||||
|
|
||||||
if(tile != null && isNode(tile) && !iteratedNodes.contains(tile))
|
if(coord.exists(pointer.getWorldObj()))
|
||||||
{
|
{
|
||||||
loop(tile);
|
TileEntity tile = coord.getTileEntity(pointer.getWorldObj());
|
||||||
|
|
||||||
|
if(tile != null && isNode(tile) && !iteratedNodes.contains(tile))
|
||||||
|
{
|
||||||
|
loop(tile);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue