Skip to content
Snippets Groups Projects
Commit 08406000 authored by TenPlus1's avatar TenPlus1
Browse files

Changed deprecated add_node to set_node

parent 2eccef24
No related branches found
No related tags found
No related merge requests found
...@@ -108,7 +108,7 @@ minetest.register_node("teleport_potion:potion", { ...@@ -108,7 +108,7 @@ minetest.register_node("teleport_potion:potion", {
if coords then if coords then
minetest.add_node(pos, {name = "teleport_potion:portal"}) minetest.set_node(pos, {name = "teleport_potion:portal"})
local newmeta = minetest.get_meta(pos) local newmeta = minetest.get_meta(pos)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment