mirror of
https://gitlab.com/rubenwardy/awards.git
synced 2024-08-21 11:14:05 +02:00
Add dump
This commit is contained in:
parent
9117031f2a
commit
b31b30a363
2
api.lua
2
api.lua
@ -43,7 +43,7 @@ function awards.tbv(tb,value,default)
|
|||||||
if not value then
|
if not value then
|
||||||
value = "[NULL]"
|
value = "[NULL]"
|
||||||
end
|
end
|
||||||
print("Table '"..value.."' is null, or not a table!")
|
print("Table '"..value.."' is null, or not a table! Dump: "..dump(tb))
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
if not tb[value] then
|
if not tb[value] then
|
||||||
|
Loading…
Reference in New Issue
Block a user