mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-28 13:15:30 +01:00
Fix 'defaultworld' setting (didn't work previously)
This commit is contained in:
parent
c953097403
commit
7ba72941dc
@ -71,6 +71,8 @@ DynMap.prototype = {
|
||||
me.defaultworld = me.defaultworld || world;
|
||||
});
|
||||
var urlarg = me.getParameterByName('worldname');
|
||||
if(urlarg == "")
|
||||
urlarg = me.options.defaultworld || "";
|
||||
if(urlarg != "") {
|
||||
me.defaultworld = me.worlds[urlarg] || me.defaultworld;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user