diff options
Diffstat (limited to 'gamemode/core/inventory/common')
| -rw-r--r-- | gamemode/core/inventory/common/items.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gamemode/core/inventory/common/items.lua b/gamemode/core/inventory/common/items.lua index 0a32f27..65d8e4a 100644 --- a/gamemode/core/inventory/common/items.lua +++ b/gamemode/core/inventory/common/items.lua @@ -3,6 +3,7 @@ --@shared items.lua --@alias items +local log = nrequire("log.lua") local items = {} -- local function drop_provided(ent,invid,frompos) @@ -28,6 +29,7 @@ function items.DropItem(ent_or_tbl,invid,frompos) end ]] assert(CLIENT,"requested to drop an item when we are not the client!") + log.debug("Drop item was requested, ent_or_tbl is" .. tostring(ent_or_tbl)) net.Start("art_RequestInvDrop") net.WriteEntity(ent_or_tbl) net.WriteUInt(invid,32) |
