Hello!
So, the problem described in the title. I tried to delete some parts of line 47 in main.lua and it works good now. It looks like this:
mwscript.addItem({ reference = tes3.player, item = item, count = math.min(reference.stackSize) })
And I tried this:
mwscript.addItem({ reference = tes3.player, item = item, count = reference.stackSize})
It works too. But I don't know, I'm really bad at this stuff, maybe it will create some problems in future.
This problem occurs in previous version and in new 1.01 (downloaded from Nexus).
And thanks for all mods, they are sanity/lifesavers :)