From 04f045158fe6ee4440a58654177255db435b596f Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sun, 27 Nov 2016 12:15:52 +0100 Subject: [PATCH] Avoid "leaking" creative inventories to other players --- mods/creative/inventory.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/creative/inventory.lua b/mods/creative/inventory.lua index 177933f3..8dedffc4 100644 --- a/mods/creative/inventory.lua +++ b/mods/creative/inventory.lua @@ -32,7 +32,7 @@ function creative.init_creative_inventory(player) minetest.log("action", player_name .. " takes " .. stack:get_name().. " from creative inventory") end end, - }) + }, player_name) creative.update_creative_inventory(player_name, minetest.registered_items) end