diff options
Diffstat (limited to 'gamemode/core/inventory/item.lua')
| -rw-r--r-- | gamemode/core/inventory/item.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gamemode/core/inventory/item.lua b/gamemode/core/inventory/item.lua index ef6ec1d..86bd105 100644 --- a/gamemode/core/inventory/item.lua +++ b/gamemode/core/inventory/item.lua @@ -18,6 +18,8 @@ Items may also have methods from one or more interfaces registered with RegisterInterface ]] local log = nrequire("log.lua") +print("in item.lua, log is:") +PrintTable(log) local itm = {} local required_fields = { @@ -30,7 +32,7 @@ function itm.RegisterItem(tbl) assert(tbl[v] ~= nil, string.format("Attempted to register item without field %q",v)) end assert(items[tbl.Name] == nil, string.format("Attempted to register 2 items with the same name %q",tbl.Name)) - log.debug("Registered item: " .. tbl.Name) + log.debug("Registered item: " .. tbl.Name .. "\n") end function itm.GetItemByName(name) |
