mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-01-20 09:17:29 +07:00
Added assertion to validate item list includes expected number of entries (even if some errored)
This commit is contained in:
parent
447fc70ad2
commit
d4a4c87b38
@ -414,6 +414,7 @@ public class D2SReader96 {
|
||||
Log.remove("item");
|
||||
}
|
||||
}
|
||||
assert itemList.size == size : "itemList.size(" + itemList.size + ") != size(" + size + ")";
|
||||
if (errors > 0) {
|
||||
log.warn("{} items could not be loaded due to formatting errors.", errors);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user