hearthstone.lua bugfix
This commit is contained in:
parent
02a7d411fa
commit
69de75bf72
@ -104,7 +104,7 @@ local action = function(msg)
|
|||||||
|
|
||||||
local output = ''
|
local output = ''
|
||||||
for k,v in pairs(database.hearthstone) do
|
for k,v in pairs(database.hearthstone) do
|
||||||
if string.lower(v.name):match(input) then
|
if type(v) == 'table' and string.lower(v.name):match(input) then
|
||||||
output = output .. format_card(v) .. '\n\n'
|
output = output .. format_card(v) .. '\n\n'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user