mirror of
https://github.com/minetest/minetest_game.git
synced 2025-01-03 12:00:20 +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")
|
minetest.log("action", player_name .. " takes " .. stack:get_name().. " from creative inventory")
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
})
|
}, player_name)
|
||||||
|
|
||||||
creative.update_creative_inventory(player_name, minetest.registered_items)
|
creative.update_creative_inventory(player_name, minetest.registered_items)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user