Foxed a wrong check in the navigationlua plugin

(causing inverterd logic in the client version detection)

Signed-off-by: Haru <haru@dotalux.com>
Performance improvements for the navilua plugin

- Execution now takes about ~1 minute on my computer, compared to the
  previous ~5 minutes.

Signed-off-by: Haru <haru@dotalux.com>