[multiworld] Added initial WorldType support and fixed client crash when...

... connecting to custom dim.