Relocate Source to proper directory.
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
package appeng.me;
|
||||
|
||||
import appeng.api.networking.IGridNode;
|
||||
import appeng.api.networking.IGridVisitor;
|
||||
|
||||
class GridSplitDetector implements IGridVisitor
|
||||
{
|
||||
|
||||
final IGridNode pivot;
|
||||
boolean pivotFound;
|
||||
|
||||
public GridSplitDetector(IGridNode pivot) {
|
||||
this.pivot = pivot;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean visitNode(IGridNode n)
|
||||
{
|
||||
if ( n == pivot )
|
||||
pivotFound = true;
|
||||
|
||||
return !pivotFound;
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user