Fix schem load byte/varint

Dieser Commit ist enthalten in:
Jesse Boyd 2020-01-05 18:41:58 +11:00
Ursprung 39b698f67d
Commit dce9e545ec

Datei anzeigen

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