Changed deprecated add_node to set_node

master
TenPlus1 2015-09-16 14:55:33 +01:00
parent 2eccef244d
commit 08406000bd
1 changed files with 1 additions and 1 deletions

View File

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