From: Perttu Ahola Date: Sat, 10 Dec 2011 23:52:37 +0000 (+0200) Subject: add_luaentity->add_entity in mods/experimental X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=012bcbcb4852c78e803485a4fc6fe6628ce0dcd3;p=zefram%2Fminetest%2Fminetest_engine.git add_luaentity->add_entity in mods/experimental --- diff --git a/data/mods/experimental/init.lua b/data/mods/experimental/init.lua index 51e86c23..6b82b02a 100644 --- a/data/mods/experimental/init.lua +++ b/data/mods/experimental/init.lua @@ -169,7 +169,7 @@ minetest.register_node("experimental:tnt", { minetest.register_on_punchnode(function(p, node) if node.name == "experimental:tnt" then minetest.env:remove_node(p) - minetest.env:add_luaentity(p, "experimental:tnt") + minetest.env:add_entity(p, "experimental:tnt") nodeupdate(p) end end)