mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-07-07 00:39:13 +07:00
Fixed bug where required code was run in an assertion and not running on android
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user