mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-01-08 17:07:38 +00:00
Fix #1317
This commit is contained in:
parent
a5795461f2
commit
6c56fa29aa
@ -136,7 +136,7 @@ public class DiskOptimizedClipboard extends LinearClipboard implements Closeable
|
||||
|
||||
private static BlockVector3 readSize(File file) {
|
||||
try (DataInputStream is = new DataInputStream(new FileInputStream(file))) {
|
||||
byte version = is.readByte();
|
||||
int version = is.readChar();
|
||||
if (version > VERSION) {
|
||||
throw new UnsupportedOperationException("Unsupported clipboard-on-disk version: " + version);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user