add_luaentity->add_entity in mods/experimental

This commit is contained in:
Perttu Ahola 2011-12-11 01:52:37 +02:00
parent e06d4555bf
commit 012bcbcb48
1 changed files with 1 additions and 1 deletions

View File

@ -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)