PB: Fix panic

This commit is contained in:
nyyu 2021-03-16 22:07:16 +01:00
parent bdf6f97923
commit a29054520d

View file

@ -69,7 +69,7 @@ impl DataSource for PBDataSource {
build = &build[pos + 10..];
let end = build.find('\\').unwrap();
items.push(&build[..end]);
build = &build[pos + 22..];
build = &build[end + 20..];
}
builds.push((positions[0].to_owned(), vec![json!({