forked from minetest/minetest_game
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