Fixed geodata path problem.

This commit is contained in:
MobiusDev 2015-05-02 18:02:06 +00:00
parent 61d4311595
commit 7887557c25

View File

@ -2899,7 +2899,7 @@ public final class Config
DEBUG_PATH = geoData.getBoolean("DebugPath", false);
FORCE_GEODATA = geoData.getBoolean("ForceGeoData", true);
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);
GEODATA_REGIONS = new HashMap<>();
for (int regionX = L2World.TILE_X_MIN; regionX <= L2World.TILE_X_MAX; regionX++)