Fixed geodata path problem.
This commit is contained in:
parent
61d4311595
commit
7887557c25
@ -2899,7 +2899,7 @@ public final class Config
|
|||||||
DEBUG_PATH = geoData.getBoolean("DebugPath", false);
|
DEBUG_PATH = geoData.getBoolean("DebugPath", false);
|
||||||
FORCE_GEODATA = geoData.getBoolean("ForceGeoData", true);
|
FORCE_GEODATA = geoData.getBoolean("ForceGeoData", true);
|
||||||
COORD_SYNCHRONIZE = geoData.getInt("CoordSynchronize", -1);
|
COORD_SYNCHRONIZE = geoData.getInt("CoordSynchronize", -1);
|
||||||
GEODATA_PATH = Paths.get(geoData.getString("GeoDataPath", "geodata"));
|
GEODATA_PATH = Paths.get(Config.DATAPACK_ROOT.getPath() + "/" + geoData.getString("GeoDataPath", "geodata"));
|
||||||
TRY_LOAD_UNSPECIFIED_REGIONS = geoData.getBoolean("TryLoadUnspecifiedRegions", true);
|
TRY_LOAD_UNSPECIFIED_REGIONS = geoData.getBoolean("TryLoadUnspecifiedRegions", true);
|
||||||
GEODATA_REGIONS = new HashMap<>();
|
GEODATA_REGIONS = new HashMap<>();
|
||||||
for (int regionX = L2World.TILE_X_MIN; regionX <= L2World.TILE_X_MAX; regionX++)
|
for (int regionX = L2World.TILE_X_MIN; regionX <= L2World.TILE_X_MAX; regionX++)
|
||||||
|
Loading…
Reference in New Issue
Block a user