aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)