When splitting items, if the destination containers max stack size is less than the split amount change the split amount to the max stack size of the container
Check for values less than 1 when splitting a item, even though this should never happen
Should fix receiving insufficient amounts when purchasing from a vending machine with limitPlayerInventory set to true by breaking the stack down to the playerInventoryStacklimit set in the config before the item is given to the player