madden-franchise 2.5.4 → 2.5.5
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/FranchiseFile.js +1 -1
- package/data/schemas/22/M22_329_0.gz +0 -0
- package/package.json +1 -1
package/FranchiseFile.js
CHANGED
|
@@ -113,7 +113,7 @@ class FranchiseFile extends EventEmitter {
|
|
|
113
113
|
|
|
114
114
|
for (let i = 0; i < tableIndicies.length; i++) {
|
|
115
115
|
const currentTable = tableIndicies[i];
|
|
116
|
-
const nextTable = tableIndicies.length
|
|
116
|
+
const nextTable = tableIndicies.length > i+1 ? tableIndicies[i+1] : this.unpackedFileContents.length - 8; // Ignore trailing 8 bytes on last table
|
|
117
117
|
|
|
118
118
|
const tableData = this.unpackedFileContents.slice(currentTable, nextTable);
|
|
119
119
|
|
|
Binary file
|