2 Years Ago
ItemContainer AddItem can now optionally respect max stack size, both for the item and for the container itself. Trains cars use this to fill correctly. Also fixed ItemContainer GetMaxTransferAmount returning 0 if stack size was unlimited.