This commit is contained in:
dordsor21 2020-09-18 18:54:14 +01:00
parent cf750ba00c
commit aed6807eb2
No known key found for this signature in database
GPG Key ID: 1E53E88969FFCF0B

View File

@ -157,6 +157,7 @@ public class FastSchematicReader extends NBTSchematicReader {
tilesDelegate.withInfo((length, type) -> tiles = new ArrayList<>(length));
tilesDelegate.withElem((ValueReader<Map<String, Object>>) (index, tile) -> tiles.add(tile));
// Keep this here so schematics created with FAWE before TileEntities was fixed to BlockEntities still work
StreamDelegate compatTilesDelegate = schematic.add("TileEntities");
compatTilesDelegate.withInfo((length, type) -> tiles = new ArrayList<>(length));
compatTilesDelegate.withElem((ValueReader<Map<String, Object>>) (index, tile) -> tiles.add(tile));