Change Blizzard constant for mail attachments in received mail window
What steps will reproduce the problem?
Recieve a mail from Postmaster with max number of items.
What is the expected output? What do you see instead?
Only 12 have icons, but there are 16 in the mail.
What version of the product are you using?
Please provide any additional information below.
ATTACHMENTS_MAX_RECEIVE in both code and constants.lua
Reported on Curseforge by ImUnicke on Dec 1, 2018: https://wow.curseforge.com/projects/can-i-mog-it/issues/197
I added a fix for this Issue that seems to work.
== constants.lua ==
-- add FIX for Postmaster sending 16 items per batch when sending 12 by a player is the max (ATTACHMENTS_MAX_SEND)
CanIMogIt.NUM_MAIL_RECEIVE_ITEMS = 16
== Mail.lua ==
function MailFrame_CIMIOnClick() for i=1,CanIMogIt.NUM_MAIL_RECEIVE_ITEMS do ... -- Add hook for the Mail inbox frames. for i=1,CanIMogIt.NUM_MAIL_RECEIVE_ITEMS do