geforkt von Mirrors/FastAsyncWorldEdit
Replaced the "please report this" message in the legacy schematic loader
(cherry picked from commit be30a94be5aedc9e365491372fb80d2ea98ff368)
Dieser Commit ist enthalten in:
Ursprung
0bf0848758
Commit
c566bb8333
@ -208,9 +208,6 @@ public class MCEditSchematicReader extends NBTSchematicReader {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (values.isEmpty()) {
|
|
||||||
t = null;
|
|
||||||
}
|
|
||||||
if (values.isEmpty()) {
|
if (values.isEmpty()) {
|
||||||
t = null;
|
t = null;
|
||||||
} else {
|
} else {
|
||||||
@ -248,8 +245,13 @@ public class MCEditSchematicReader extends NBTSchematicReader {
|
|||||||
clipboard.setBlock(region.getMinimumPoint().add(pt), state);
|
clipboard.setBlock(region.getMinimumPoint().add(pt), state);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
log.warn("Unknown block when pasting schematic: "
|
short block = blocks[index];
|
||||||
+ blocks[index] + ":" + blockData[index] + ". Please report this issue.");
|
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
|
} catch (WorldEditException ignored) { // BlockArrayClipboard won't throw this
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren