diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-06-01 19:03:09 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-06-03 22:31:00 +0300 |
commit | f3ec1452cdf73d62f38b0222dcbf8bc78293206d (patch) | |
tree | 672590b40a0a0e825468107ee2563ff5e6bf48ba /builtin | |
parent | 29f03756bd7494ee6ceffd555c3b93a19295324d (diff) | |
download | minetest-f3ec1452cdf73d62f38b0222dcbf8bc78293206d.tar.gz minetest-f3ec1452cdf73d62f38b0222dcbf8bc78293206d.tar.bz2 minetest-f3ec1452cdf73d62f38b0222dcbf8bc78293206d.zip |
Random node metadata things
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/item.lua | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/builtin/item.lua b/builtin/item.lua index 129a12cf8..d30b439aa 100644 --- a/builtin/item.lua +++ b/builtin/item.lua @@ -158,11 +158,6 @@ function minetest.item_place_node(itemstack, placer, pointed_thing) -- Add node and update minetest.env:add_node(pos, newnode) - -- Set metadata owner - if def.metadata_name ~= "" then - minetest.env:get_meta(pos):set_owner(placer:get_player_name()) - end - -- Run script hook local _, callback for _, callback in ipairs(minetest.registered_on_placenodes) do @@ -319,7 +314,6 @@ minetest.nodedef_default = { diggable = true, climbable = false, buildable_to = false, - metadata_name = "", liquidtype = "none", liquid_alternative_flowing = "", liquid_alternative_source = "", |