public void addEdge(GridNode node1, GridNode node2, double resistance){
tileEntityGraph.addEdge(node1, node2);
node1.resistances.put(node2, resistance);
node2.resistances.put(node1, resistance);
}
<BUG>public GridNode addGridObject(int x, int y, int z, byte type){
</BUG>
GridNode obj = new GridNode(this);
obj.x = x;
obj.y = y;

public void addEdge(GridNode node1, GridNode node2, double resistance){
tileEntityGraph.addEdge(node1, node2);
node1.resistances.put(node2, resistance);
node2.resistances.put(node1, resistance);
}
public GridNode addGridNode(int x, int y, int z, byte type){
GridNode obj = new GridNode(this);
obj.x = x;
obj.y = y;
