3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-05 02:50:05 +01:00

Replaced the "please report this" message in the legacy schematic loader

(cherry picked from commit be30a94be5aedc9e365491372fb80d2ea98ff368)
Dieser Commit ist enthalten in:
Matthew Miller 2020-02-16 02:49:04 -05:00 committet von MattBDev
Ursprung 0bf0848758
Commit c566bb8333

Datei anzeigen

@ -208,9 +208,6 @@ public class MCEditSchematicReader extends NBTSchematicReader {
}
}
}
if (values.isEmpty()) {
t = null;
}
if (values.isEmpty()) {
t = null;
} else {
@ -248,8 +245,13 @@ public class MCEditSchematicReader extends NBTSchematicReader {
clipboard.setBlock(region.getMinimumPoint().add(pt), state);
}
} else {
log.warn("Unknown block when pasting schematic: "
+ blocks[index] + ":" + blockData[index] + ". Please report this issue.");
short block = blocks[index];
byte data = blockData[index];
int combined = block << 8 | data;
if (unknownBlocks.add(combined)) {
log.warn("Unknown block when loading schematic: "
+ block + ":" + data + ". This is most likely a bad schematic.");
}
}
} catch (WorldEditException ignored) { // BlockArrayClipboard won't throw this
}