aboutsummaryrefslogtreecommitdiff
path: root/data/mods/experimental/init.lua
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-12-11 01:52:37 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-12-11 01:52:37 +0200
commit012bcbcb4852c78e803485a4fc6fe6628ce0dcd3 (patch)
tree0324bcc2cd29f1bc08b646e646b1893bc39e5f19 /data/mods/experimental/init.lua
parente06d4555bf9d179b25bbd207cb6e7416ca05f137 (diff)
downloadminetest-012bcbcb4852c78e803485a4fc6fe6628ce0dcd3.tar.gz
minetest-012bcbcb4852c78e803485a4fc6fe6628ce0dcd3.tar.bz2
minetest-012bcbcb4852c78e803485a4fc6fe6628ce0dcd3.zip
add_luaentity->add_entity in mods/experimental
Diffstat (limited to 'data/mods/experimental/init.lua')
-rw-r--r--data/mods/experimental/init.lua2
1 files changed, 1 insertions, 1 deletions
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)