mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-02-05 16:37:55 +07:00
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:
parent
3f2bf82ddc
commit
4dbf9dfefb
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user