17,101
edits
m (getSlayerTierMonsterTable: Adjust input validation) |
m (getSlayerTierMonsterTable: Attempt to resolve input issues again) |
||
Line 888: | Line 888: | ||
end | end | ||
function p.getSlayerTierMonsterTable( | function p.getSlayerTierMonsterTable(frame) | ||
-- Input validation | -- Input validation | ||
local tier = frame.args ~= nil and frame.args[1] or frame | |||
local SlayerTiers = Constants.Slayer.Tiers | local SlayerTiers = Constants.Slayer.Tiers | ||
if tier == nil then | if tier == nil then |