i found it ... Just add
gx += target.x; gy += target.y; gz += target.z; before if ((x == gx) && (y == gy) && (z == gz)) return false;
i found it ... Just add
gx += target.x; gy += target.y; gz += target.z; before if ((x == gx) && (y == gy) && (z == gz)) return false;