fix world undefined (old ref to player.world)