@d2runewizard/d2s 2.0.112 → 2.0.114

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/d2/items.js +1 -1
  2. package/package.json +1 -1
package/lib/d2/items.js CHANGED
@@ -164,7 +164,7 @@ async function readItems(reader, version, constants, config, char) {
164
164
  const id1 = bitStr.indexOf(marker1, searchStart);
165
165
  const id2 = bitStr.indexOf(marker2, searchStart);
166
166
  const id = id1 !== -1 && id2 !== -1 ? Math.min(id1, id2) : Math.max(id1, id2);
167
- reader.SeekBit(id - 16);
167
+ reader.SeekBit(id - 15);
168
168
  }
169
169
  items.push(await readItem(reader, version, constants, config));
170
170
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d2runewizard/d2s",
3
- "version": "2.0.112",
3
+ "version": "2.0.114",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",