@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.cjs
CHANGED
|
@@ -1448,7 +1448,10 @@ class WDCReader {
|
|
|
1448
1448
|
};
|
|
1449
1449
|
}
|
|
1450
1450
|
case "commonData": {
|
|
1451
|
-
|
|
1451
|
+
let value = recordID !== undefined ? commonData.get(fieldIndex)?.get(recordID) : undefined;
|
|
1452
|
+
if (value === undefined) {
|
|
1453
|
+
value = fieldInfo.defaultValue;
|
|
1454
|
+
}
|
|
1452
1455
|
return {
|
|
1453
1456
|
type: "commonData",
|
|
1454
1457
|
data: value
|