use split map name for as type

This commit is contained in:
ChrissW-R1 2022-05-11 21:45:50 +02:00
parent f533d084f4
commit 14facbbd1c

View File

@ -155,7 +155,7 @@ export default class LiveAtlasMapDefinition implements LiveAtlasTileLayerOptions
case 'overworld':
default:
worldType = 'world';
mapType = ['surface', 'flat', 'biome', 'cave'].includes(mapName) ? this.name : 'flat';
mapType = ['surface', 'flat', 'biome', 'cave'].includes(mapName) ? mapName : 'flat';
break;
}