2,875
edits
No edit summary |
(Default to melvor realm) |
||
Line 231: | Line 231: | ||
function p._getHerblorePotionSlimTable(realmID) | function p._getHerblorePotionSlimTable(realmID) | ||
local skillID = 'Herblore' | local skillID = 'Herblore' | ||
local realmIcon = Icons._SkillRealmIcon('Herblore', realmID) | local realmIcon = Icons._SkillRealmIcon('Herblore', realmID) | ||
Line 314: | Line 312: | ||
function p.getHerblorePotionSlimTable(frame) | function p.getHerblorePotionSlimTable(frame) | ||
local args = frame.args ~= nil and frame.args or frame | local args = frame.args ~= nil and frame.args or frame | ||
local realmName = args.realm | local realmName = args.realm or 'melvorD:Melvor' | ||
local realm = Skills.getRealmFromName(realmName) | local realm = Skills.getRealmFromName(realmName) | ||
return p._getHerblorePotionSlimTable(realm) | return p._getHerblorePotionSlimTable(realm) |
edits