WoWInterface SVN BabySeal

Compare Revisions

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

Rev 15 → Rev 16

BabySeal/Data.lua
72,12 → 72,13
 
-- Only get relevant data
function BabySeal:GetData(s)
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
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
end
\ No newline at end of file