From: sfan5 Date: Sun, 27 Nov 2016 11:15:52 +0000 (+0100) Subject: Avoid "leaking" creative inventories to other players X-Git-Tag: 0.4.15~18 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=04f045158fe6ee4440a58654177255db435b596f;p=oweals%2Fminetest_game.git Avoid "leaking" creative inventories to other players --- 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