mirror of
https://github.com/minetest/minetest_game.git
synced 2024-11-10 01:33:52 +01:00
Avoid "leaking" creative inventories to other players
This commit is contained in:
parent
4f32fd253c
commit
04f045158f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user