Skip to content

Commit 302e774

Browse files
skip air earlier
1 parent b7df92c commit 302e774

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/model/modelConverter.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@ function parseSchematicData(data, idToNameMap) {
233233
for (let x = 0; x < width; x++) {
234234
for (let z = 0; z < length; z++) {
235235
let info = infoAt(x, y, z);
236+
if (info.id === 0 && info.data === 0) continue;
236237
let convertedInfo = convertLegacy(info.id, info.data);
237238

238239
let infoSplit = convertedInfo.replace("minecraft:", "").replace("]", "").split("[");

0 commit comments

Comments
 (0)