mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-02-21 20:18:14 +07:00
Fixed bug where D2S was stopping reading items too early (a couple item headers contained the section footer)
This commit is contained in:
parent
722a179e94
commit
18e10a70dd
@ -681,10 +681,11 @@ public class D2S {
|
||||
assert socket.location == Location.SOCKET;
|
||||
}
|
||||
|
||||
if (BufferUtils.lookahead(buffer, SECTION_FOOTER)) {
|
||||
break;
|
||||
}
|
||||
//if (BufferUtils.lookahead(buffer, SECTION_FOOTER)) {
|
||||
// break;
|
||||
//}
|
||||
}
|
||||
assert BufferUtils.lookahead(buffer, SECTION_FOOTER);
|
||||
//assert !buffer.hasRemaining();
|
||||
return this;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user