Also adapt CLI implementation to new folder structure

This commit is contained in:
Blue (Lukas Rieger) 2020-01-10 18:29:46 +01:00
parent 8f992413da
commit 56bc0e2ff9

View File

@ -109,7 +109,7 @@ public void renderMaps() throws IOException {
}
HiresModelManager hiresModelManager = new HiresModelManager(
config.getWebDataPath().resolve("hires").resolve(mapConfig.getId()),
config.getWebDataPath().resolve(mapConfig.getId()).resolve("hires"),
resourcePack,
mapConfig,
new Vector2i(mapConfig.getHiresTileSize(), mapConfig.getHiresTileSize()),
@ -117,7 +117,7 @@ public void renderMaps() throws IOException {
);
LowresModelManager lowresModelManager = new LowresModelManager(
config.getWebDataPath().resolve("lowres").resolve(mapConfig.getId()),
config.getWebDataPath().resolve(mapConfig.getId()).resolve("lowres"),
new Vector2i(mapConfig.getLowresPointsPerLowresTile(), mapConfig.getLowresPointsPerLowresTile()),
new Vector2i(mapConfig.getLowresPointsPerHiresTile(), mapConfig.getLowresPointsPerHiresTile())
);