Skip to content

Commit c2084de

Browse files
committed
Actually use the registered and configured world-loader
1 parent 5ebe65a commit c2084de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/src/main/java/de/bluecolored/bluemap/common/BlueMapService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ private synchronized void loadMap(String id, MapConfig mapConfig) throws Configu
214214
Logger.global.logDebug("Loading world " + worldId + " ...");
215215
List<Path> worldPacks = worldLoader.worldDataPacks(worldFolder, dimension);
216216
DataPack dataPack = loadDataPack(worldPacks);
217-
world = MCAWorld.load(worldFolder, dimension, dataPack);
217+
world = worldLoader.loadWorld(worldFolder, dimension, dataPack);
218218
worlds.put(worldId, world);
219219
} catch (IOException ex) {
220220
throw new ConfigurationException("Failed to load world " + worldId + "!", ex);

0 commit comments

Comments
 (0)