Fix for litematica exporter

This commit is contained in:
Lucas Dower 2023-03-01 18:46:02 +00:00
parent daf586c915
commit fa947c0a46
No known key found for this signature in database
GPG Key ID: B3EE6B8499593605

View File

@ -136,13 +136,11 @@ export class Litematic extends IExporter {
private _createBlockStatePalette(blockMapping: BlockMapping) {
const blockStatePalette = Array(Object.keys(blockMapping).length);
/*
for (const blockName of Object.keys(blockMapping)) {
const index = blockMapping[blockName];
blockStatePalette[index] = { Name: { type: TagType.String, value: blockName } };
}
blockStatePalette[0] = { Name: { type: TagType.String, value: 'minecraft:air' } };
*/
return blockStatePalette;
}