Fix onPlayerJoin Errors

It wont measure distance if the world the player signs on is not in the
allowed worlds file. Also wont measure distance if players it is
comparing are in different worlds.