@etothepii/satisfactory-file-parser 0.1.9 → 0.1.10

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.
@@ -518,14 +518,14 @@ class StructProperty extends AbstractBaseProperty {
518
518
  value = (0, util_types_1.ParseCol4RGBA)(reader);
519
519
  break;
520
520
  case 'Vector':
521
- value = (0, util_types_1.ParseVec3)(reader);
521
+ value = (size === 12) ? (0, util_types_1.ParseVec3f)(reader) : (0, util_types_1.ParseVec3)(reader);
522
522
  break;
523
523
  case 'Rotator':
524
524
  case 'Vector2D':
525
525
  value = (0, util_types_1.ParseVec3f)(reader);
526
526
  break;
527
527
  case 'Quat':
528
- value = (0, util_types_1.ParseVec4)(reader);
528
+ value = value = (size === 16) ? (0, util_types_1.ParseVec4f)(reader) : (0, util_types_1.ParseVec4)(reader);
529
529
  break;
530
530
  case 'Vector4':
531
531
  case 'Vector4D':
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@etothepii/satisfactory-file-parser",
3
3
  "author": "etothepii",
4
- "version": "0.1.9",
4
+ "version": "0.1.10",
5
5
  "description": "A file parser for satisfactory files. Includes save files and blueprint files.",
6
6
  "types": "./build/index.d.ts",
7
7
  "main": "./build/index.js",