Open rysson opened 7 years ago
Sea level is read when the world is first seen by dynmap, but it is then saved in the forgeworlds.yml and never reread. I'm going to change the code to save a 'sealeveloverride' attribute, versus the detected or default sealevel, so that it'll be dynamic and adjusted until someone specifically puts the sealeveloverride setting in the forgeworlds.yml file.
OK - changing the Forge code to just trust the world's sealevel, and reload it from the world each time the world itself is loaded. Patched code is built for 1.11.2 through 1.12.2 for v2.5 and v3.0. Give it a look and let me know if it works as you'd expect.
It will be nice to change sea level by DynMap command. Workaround is to stop server edit forgeworlds.yml and start it again.
If DymMap could read sea level from MC, it will be the best.