Skip to content

Commit

Permalink
fix(items-builder): encode allocation new data
Browse files Browse the repository at this point in the history
  • Loading branch information
JadlionHD committed May 21, 2024
1 parent b089e36 commit 140b71e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structures/ItemsDat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class ItemsDat {
* @param items An array of items
*/
private getWriteSize(items: ItemDefinition[]) {
let size = 196 * items.length;
let size = 204 * items.length;
// get sizes for the string
for (const item of items) {
const keys = Object.keys(item);
Expand Down
Binary file modified test/items-builder-v17-and-v18/items.dat
Binary file not shown.

0 comments on commit 140b71e

Please sign in to comment.