Changed deprecated add_node to set_node

This commit is contained in:
TenPlus1 2015-09-16 14:55:33 +01:00
parent 2eccef244d
commit 08406000bd

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)