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:
parent
6a50b2ebcd
commit
38163133cb
6 changed files with 17 additions and 6 deletions
|
|
@ -295,6 +295,8 @@ public class MapManager {
|
|||
List<ConfigurationNode> loclist = worldConfiguration.getNodes("fullrenderlocations");
|
||||
dynmapWorld.seedloc = new ArrayList<Location>();
|
||||
dynmapWorld.servertime = (int)(w.getTime() % 24000);
|
||||
dynmapWorld.sendposition = worldConfiguration.getBoolean("sendposition", true);
|
||||
dynmapWorld.sendhealth = worldConfiguration.getBoolean("sendhealth", true);
|
||||
if(loclist != null) {
|
||||
for(ConfigurationNode loc : loclist) {
|
||||
Location lx = new Location(w, loc.getDouble("x", 0), loc.getDouble("y", 64), loc.getDouble("z", 0));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue