mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-02-22 12:38:12 +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;
|
assert socket.location == Location.SOCKET;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (BufferUtils.lookahead(buffer, SECTION_FOOTER)) {
|
//if (BufferUtils.lookahead(buffer, SECTION_FOOTER)) {
|
||||||
break;
|
// break;
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
|
assert BufferUtils.lookahead(buffer, SECTION_FOOTER);
|
||||||
//assert !buffer.hasRemaining();
|
//assert !buffer.hasRemaining();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user