Commit 08406000 authored by TenPlus1's avatar TenPlus1
Browse files

Changed deprecated add_node to set_node

parent 2eccef24
......@@ -108,7 +108,7 @@ minetest.register_node("teleport_potion:potion", {
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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment