powerbot/RSBot-API — pull request #205 by HelBorn (2012-04-30 11:27:07+00:00)
Title: Walking fixes.

Tile#isOnMap() returns true if the distance is slightly above 17 tiles, yet Walking#walk only accepts distances <=17 tiles away, meaning the player will never move.

Walking#getDestination() never returns null, it returns a "new Tile(-1, -1, -1)" if there is no destination.