Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-07 20:10:06 +01:00
Update DiskOptimizedClipboard.java
Dieser Commit ist enthalten in:
Ursprung
1e16095cba
Commit
b224457464
@ -97,9 +97,9 @@ public class DiskOptimizedClipboard extends LinearClipboard implements Closeable
|
|||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
this.braf = new RandomAccessFile(file, "rw");
|
this.braf = new RandomAccessFile(file, "rw");
|
||||||
long volume = (long) getArea() * 2L + (long) HEADER_SIZE;
|
long fileLength = (long) getVolume() * 2L + (long) HEADER_SIZE;
|
||||||
braf.setLength(0);
|
braf.setLength(0);
|
||||||
braf.setLength(volume);
|
braf.setLength(fileLength);
|
||||||
init();
|
init();
|
||||||
// write getLength() etc
|
// write getLength() etc
|
||||||
byteBuffer.putChar(2, (char) getWidth());
|
byteBuffer.putChar(2, (char) getWidth());
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren