WoWInterface SVN BabySeal

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 16 to Rev 15
    Reverse comparison

Rev 16 → Rev 15

BabySeal/Data.lua
72,13 → 72,12
 
-- Only get relevant data
function BabySeal:GetData(s)
if spellIDs[s] then
for k,v in pairs(spellIDs[s]) do
local name = GetSpellInfo(v)
table.insert(spells, name)
end
return spells, messages[s], s ~= "WARLOCK" and true or false
else
print(self.prefix, "No data available for your class.")
end
if not spellIDs[s] then print(self.prefix, "No data available for your class.") end
 
for k,v in pairs(spellIDs[s]) do
local name = GetSpellInfo(v)
table.insert(spells, name)
end
 
return spells, messages[s], s ~= "WARLOCK" and true or false
end
\ No newline at end of file