AE2 First Commit, the dawn of 1.7 hast arrived.

This commit is contained in:
algorithmx2
2013-12-27 16:59:59 -06:00
commit e9acdcbee2
468 changed files with 47440 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
package appeng.me;
import appeng.api.networking.IGridNode;
import appeng.api.networking.IGridVisitor;
public class GridPropagator implements IGridVisitor
{
final private Grid g;
public GridPropagator(Grid g) {
this.g = g;
}
@Override
public boolean visitNode(IGridNode n)
{
GridNode gn = (GridNode) n;
if ( gn.myGrid != g || g.pivot == n )
{
gn.setGrid( g );
return true;
}
return false;
}
}