added chunk loaded check to path finder