My mistake
This commit is contained in:
parent
727c1d2e8b
commit
57fed361f0
@ -159,7 +159,7 @@ public final class NBTInputStream implements Closeable {
|
|||||||
}
|
}
|
||||||
int left = length;
|
int left = length;
|
||||||
for (; left > 720; left -= 720) {
|
for (; left > 720; left -= 720) {
|
||||||
dis.read(buf);
|
dis.readFully(buf);
|
||||||
for (byte b : buf) {
|
for (byte b : buf) {
|
||||||
byteReader.run(i++, b & 0xFF);
|
byteReader.run(i++, b & 0xFF);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user