- Joined
- Nov 3, 2013
- Messages
- 609
- Thread Author
- #1
@Cloud @Arbiter
I'm experiencing a bug with the WebPathBuilder, I haven't experienced it with RegionPaths, but it may be there as well. I'm handling it returning null paths when a path cannot be calculated, that's easy. The problem is that every now and then it will return a non-null path with invalid steps. This means that I can call path.step() on it and it just returns false and does nothing. It's pretty trivial for me to simply check that the path.next() == null and then regenerate the path, however I don't think this is the desired behavior.
I'm experiencing a bug with the WebPathBuilder, I haven't experienced it with RegionPaths, but it may be there as well. I'm handling it returning null paths when a path cannot be calculated, that's easy. The problem is that every now and then it will return a non-null path with invalid steps. This means that I can call path.step() on it and it just returns false and does nothing. It's pretty trivial for me to simply check that the path.next() == null and then regenerate the path, however I don't think this is the desired behavior.