@rhyster/wow-casc-dbc 2.9.11 → 2.9.12
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.
- package/dist/index.cjs +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +4 -1
- package/dist/index.mjs.map +1 -1
- package/dist/wdc.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/test/salsa20.test.ts +186 -186
- package/src/wdc.ts +18 -19
package/dist/index.mjs
CHANGED
|
@@ -1436,7 +1436,10 @@ class WDCReader {
|
|
|
1436
1436
|
};
|
|
1437
1437
|
}
|
|
1438
1438
|
case "commonData": {
|
|
1439
|
-
|
|
1439
|
+
let value = recordID !== undefined ? commonData.get(fieldIndex)?.get(recordID) : undefined;
|
|
1440
|
+
if (value === undefined) {
|
|
1441
|
+
value = fieldInfo.defaultValue;
|
|
1442
|
+
}
|
|
1440
1443
|
return {
|
|
1441
1444
|
type: "commonData",
|
|
1442
1445
|
data: value
|