mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-28 21:25:46 +01:00
Fix message for version mismatch, and abort UI if it fails
This commit is contained in:
parent
6de49f89d6
commit
402d7f9542
@ -290,8 +290,9 @@ DynMap.prototype = {
|
|||||||
|
|
||||||
if(dynmapversion != me.options.dynmapversion) {
|
if(dynmapversion != me.options.dynmapversion) {
|
||||||
me.alertbox
|
me.alertbox
|
||||||
.text('Web files are not matched with plugin version: All files need to be same version (' + me.options.dynmapverion + ')')
|
.text('Web files are not matched with plugin version: All files need to be same version (' + me.options.dynmapversion + ')')
|
||||||
.show();
|
.show();
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
me.selectMap(me.defaultworld.defaultmap);
|
me.selectMap(me.defaultworld.defaultmap);
|
||||||
|
Loading…
Reference in New Issue
Block a user