From 012bcbcb4852c78e803485a4fc6fe6628ce0dcd3 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 11 Dec 2011 01:52:37 +0200 Subject: add_luaentity->add_entity in mods/experimental --- data/mods/experimental/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/mods/experimental/init.lua b/data/mods/experimental/init.lua index 51e86c234..6b82b02a2 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) -- cgit v1.2.3