mirror of
https://gitlab.com/rubenwardy/awards.git
synced 2024-11-26 09:13:55 +01: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
|
||||
value = "[NULL]"
|
||||
end
|
||||
print("Table '"..value.."' is null, or not a table!")
|
||||
print("Table '"..value.."' is null, or not a table! Dump: "..dump(tb))
|
||||
return
|
||||
end
|
||||
if not tb[value] then
|
||||
|
Loading…
Reference in New Issue
Block a user