Have per-world control of sending player position and health, prevent

player icon flicker on addplayer (even when not on world or position
is obfuscated)
This commit is contained in:
Mike Primm 2011-06-03 08:42:24 -05:00
parent 163881697a
commit b4a909aee3
6 changed files with 17 additions and 6 deletions

View file

@ -91,7 +91,7 @@ DynMap.prototype = {
worlds: {},
registeredTiles: [],
players: {},
lasttimestamp: '0',
lasttimestamp: new Date().getUTCMilliseconds(), /* Pseudorandom - prevent cached '?0' */
servertime: 0,
serverday: false,
inittime: new Date().getTime(),