olegbl / d2rmm

Mod Manager for Diablo II: Resurrected
https://www.nexusmods.com/diablo2resurrected/mods/169
MIT License
54 stars 9 forks source link

TSV not save the last column #2

Closed qhu91it closed 2 years ago

qhu91it commented 2 years ago

For example glovesHeight is the last column of inventory

const inventoryFilename = 'global\\excel\\inventory.txt';
const inventory = D2RMM.readTsv(inventoryFilename);
inventory.rows.forEach((row) => {
    row.glovesHeight = 53;
});
D2RMM.writeTsv(inventoryFilename, inventory);

Open inventory.txt and see glovesHeight is not change.

olegbl commented 2 years ago

Duplicate of #1