Open brightrim opened 2 years ago
This is a documentation bug, all the increaseAtPos variants (Character, Player, Container) return the number of items that could not be created.
We can either fix the documentation or change the behaviour in all variants.
According to the old luadoc, the function is supposed to return an integer of how many the item.number was increased by. Instead it returns as 0.