Removed assertion that wait failing due to expected behavior

syncInitialization was failing assertion because all bytes were read, but test was before additional bytes were read into buffer
This commit is contained in:
Collin Smith 2021-12-16 14:32:29 -08:00
parent 3f2bf82ddc
commit 4dbf9dfefb

View File

@ -146,7 +146,6 @@ public final class MpqBufferStream extends InputStream {
Promise syncInitialization() {
if (init == null) throw new IllegalStateException("not initialized via MpqBufferStream#initialize()");
init.syncUninterruptibly();
assert buffer.isReadable();
return init;
}