Increase max mail operations from 12 to 100 (useful for restocking on alts) (#28)

This commit is contained in:
Moonscarlet
2026-02-19 00:50:50 +02:00
committed by GitHub
parent 4a03ece3d3
commit bf6652036b
@@ -59,7 +59,7 @@ end
-- registers this module with TSM by first setting all fields and then calling TSMAPI:NewModule(). -- registers this module with TSM by first setting all fields and then calling TSMAPI:NewModule().
function TSM:RegisterModule() function TSM:RegisterModule()
TSM.operations = {maxOperations=12, callbackOptions="Options:Load", callbackInfo="GetOperationInfo"} TSM.operations = {maxOperations=100, callbackOptions="Options:Load", callbackInfo="GetOperationInfo"}
TSM.moduleAPIs = { TSM.moduleAPIs = {
{key="mailItems", callback="AutoMail:SendItems"}, {key="mailItems", callback="AutoMail:SendItems"},
} }
@@ -89,4 +89,4 @@ function TSM:GetOperationInfo(operationName)
else else
return format(L["Mailing all to %s."], operation.target) return format(L["Mailing all to %s."], operation.target)
end end
end end