mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-09-28 13:47:26 +02:00
Small fix for invalid http response of updates.
This commit is contained in:
parent
43bc625c08
commit
0b421209a2
@ -368,6 +368,10 @@ DynMap.prototype = {
|
||||
|
||||
$(me).trigger('worldupdating');
|
||||
$.getJSON(me.options.updateUrl + "world/" + me.world.name + "/" + me.lasttimestamp, function(update) {
|
||||
if (!update) {
|
||||
setTimeout(function() { me.update(); }, me.options.updaterate);
|
||||
return;
|
||||
}
|
||||
me.alertbox.hide();
|
||||
|
||||
if (!me.options.jsonfile) {
|
||||
|
Loading…
Reference in New Issue
Block a user