mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-11-28 21:56:33 +01:00
Always write tile tag
This commit is contained in:
parent
91450e569b
commit
1b71bcd4a1
@ -216,6 +216,8 @@ public class SchematicWriter implements ClipboardWriter {
|
|||||||
if (hasTile) {
|
if (hasTile) {
|
||||||
final List<CompoundTag> tileEntities = clipboard.IMP.getTileEntities();
|
final List<CompoundTag> tileEntities = clipboard.IMP.getTileEntities();
|
||||||
out.writeNamedTag("TileEntities", new ListTag(CompoundTag.class, tileEntities));
|
out.writeNamedTag("TileEntities", new ListTag(CompoundTag.class, tileEntities));
|
||||||
|
} else {
|
||||||
|
out.writeNamedTag("TileEntities", new ListTag(CompoundTag.class, new ArrayList<Tag>()));
|
||||||
}
|
}
|
||||||
|
|
||||||
List<Tag> entities = new ArrayList<Tag>();
|
List<Tag> entities = new ArrayList<Tag>();
|
||||||
|
Loading…
Reference in New Issue
Block a user