mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-11-14 22:55:56 +01:00
Fix saving lazy copy clipboard
This commit is contained in:
parent
845ea0e9dc
commit
22be697751
@ -6,6 +6,7 @@ import com.boydti.fawe.jnbt.NBTStreamer;
|
||||
import com.boydti.fawe.object.clipboard.FaweClipboard;
|
||||
import com.boydti.fawe.object.clipboard.WorldCopyClipboard;
|
||||
import com.boydti.fawe.object.io.FastByteArrayOutputStream;
|
||||
import com.boydti.fawe.object.io.PGZIPOutputStream;
|
||||
import com.boydti.fawe.util.ReflectionUtils;
|
||||
import com.google.common.io.ByteStreams;
|
||||
import com.sk89q.jnbt.ByteArrayTag;
|
||||
@ -167,9 +168,9 @@ public class SchematicWriter implements ClipboardWriter {
|
||||
FastByteArrayOutputStream datas = new FastByteArrayOutputStream();
|
||||
FastByteArrayOutputStream add = new FastByteArrayOutputStream();
|
||||
|
||||
OutputStream idsOut = ids;//new PGZIPOutputStream(ids);
|
||||
OutputStream dataOut = datas;//new PGZIPOutputStream(datas);
|
||||
OutputStream addOut = add;//new PGZIPOutputStream(add);
|
||||
OutputStream idsOut = new PGZIPOutputStream(ids);
|
||||
OutputStream dataOut = new PGZIPOutputStream(datas);
|
||||
OutputStream addOut = new PGZIPOutputStream(add);
|
||||
|
||||
byte[] addAcc = new byte[1];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user