mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 17:57:38 +00:00
Replaced the "please report this" message in the legacy schematic loader
(cherry picked from commit be30a94be5aedc9e365491372fb80d2ea98ff368)
This commit is contained in:
parent
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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user