mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
comment
This commit is contained in:
parent
cf750ba00c
commit
aed6807eb2
@ -157,6 +157,7 @@ public class FastSchematicReader extends NBTSchematicReader {
|
|||||||
tilesDelegate.withInfo((length, type) -> tiles = new ArrayList<>(length));
|
tilesDelegate.withInfo((length, type) -> tiles = new ArrayList<>(length));
|
||||||
tilesDelegate.withElem((ValueReader<Map<String, Object>>) (index, tile) -> tiles.add(tile));
|
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");
|
StreamDelegate compatTilesDelegate = schematic.add("TileEntities");
|
||||||
compatTilesDelegate.withInfo((length, type) -> tiles = new ArrayList<>(length));
|
compatTilesDelegate.withInfo((length, type) -> tiles = new ArrayList<>(length));
|
||||||
compatTilesDelegate.withElem((ValueReader<Map<String, Object>>) (index, tile) -> tiles.add(tile));
|
compatTilesDelegate.withElem((ValueReader<Map<String, Object>>) (index, tile) -> tiles.add(tile));
|
||||||
|
Loading…
Reference in New Issue
Block a user