Call World.getPlayers() in the main thread to prevent errors. Fixes #42