Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-09-16 13:01:24 +02:00
Fix #1317
Dieser Commit ist enthalten in:
Ursprung
a5795461f2
Commit
6c56fa29aa
@ -136,7 +136,7 @@ public class DiskOptimizedClipboard extends LinearClipboard implements Closeable
|
|||||||
|
|
||||||
private static BlockVector3 readSize(File file) {
|
private static BlockVector3 readSize(File file) {
|
||||||
try (DataInputStream is = new DataInputStream(new FileInputStream(file))) {
|
try (DataInputStream is = new DataInputStream(new FileInputStream(file))) {
|
||||||
byte version = is.readByte();
|
int version = is.readChar();
|
||||||
if (version > VERSION) {
|
if (version > VERSION) {
|
||||||
throw new UnsupportedOperationException("Unsupported clipboard-on-disk version: " + version);
|
throw new UnsupportedOperationException("Unsupported clipboard-on-disk version: " + version);
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren