summaryrefslogtreecommitdiff
path: root/builtin/game/detached_inventory.lua
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/game/detached_inventory.lua')
-rw-r--r--builtin/game/detached_inventory.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/game/detached_inventory.lua b/builtin/game/detached_inventory.lua
index e8f03b56c..b5d106b04 100644
--- a/builtin/game/detached_inventory.lua
+++ b/builtin/game/detached_inventory.lua
@@ -13,6 +13,7 @@ function core.create_detached_inventory(name, callbacks)
stuff.on_put = callbacks.on_put
stuff.on_take = callbacks.on_take
end
+ stuff.mod_origin = core.get_current_modname() or "??"
core.detached_inventories[name] = stuff
return core.create_detached_inventory_raw(name)
end