Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-26 19:02:36 +01:00
Fix schem load byte/varint
Dieser Commit ist enthalten in:
Ursprung
39b698f67d
Commit
dce9e545ec
@ -145,7 +145,7 @@ public class FastSchematicReader extends NBTSchematicReader {
|
|||||||
blocksOut = new FastByteArrayOutputStream();
|
blocksOut = new FastByteArrayOutputStream();
|
||||||
blocks = new FaweOutputStream(new LZ4BlockOutputStream(blocksOut));
|
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");
|
StreamDelegate tilesDelegate = schematic.add("TileEntities");
|
||||||
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));
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren