Skip to content

Commit

Permalink
Avoid "leaking" creative inventories to other players
Browse files Browse the repository at this point in the history
  • Loading branch information
sfan5 committed Nov 28, 2016
1 parent 4f32fd2 commit 04f0451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mods/creative/inventory.lua
Expand Up @@ -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
Expand Down

0 comments on commit 04f0451

Please sign in to comment.