Correct tag name for tile entities

This commit is contained in:
dordsor21 2020-09-18 18:29:36 +01:00
parent 218f570cb1
commit 9c34702a47
No known key found for this signature in database
GPG Key ID: 1E53E88969FFCF0B

View File

@ -153,7 +153,7 @@ public class FastSchematicReader extends NBTSchematicReader {
});
blockData.withInt((index, value) -> blocks.write(value));
StreamDelegate tilesDelegate = schematic.add("TileEntities");
StreamDelegate tilesDelegate = schematic.add("BlockEntities");
tilesDelegate.withInfo((length, type) -> tiles = new ArrayList<>(length));
tilesDelegate.withElem((ValueReader<Map<String, Object>>) (index, tile) -> tiles.add(tile));