forked from mirror/ObjToSchematic
Fix for litematica exporter
This commit is contained in:
parent
daf586c915
commit
fa947c0a46
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user