mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-02-01 02:14:32 +07:00
Fixed bug where required code was run in an assertion and not running on android
This commit is contained in:
parent
3c71976972
commit
c7be4a6b8b
@ -715,7 +715,8 @@ public class D2S {
|
||||
assert socket.location == Location.SOCKET;
|
||||
}
|
||||
}
|
||||
assert BufferUtils.lookahead(buffer, SECTION_FOOTER);
|
||||
boolean lookahead = BufferUtils.lookahead(buffer, SECTION_FOOTER);
|
||||
assert lookahead;
|
||||
if (!consumeFooter) buffer.reset();
|
||||
return this;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user