mirror of
https://codeberg.org/tenplus1/teleport_potion.git
synced 2025-03-15 06:01:24 +00:00
Changed deprecated add_node to set_node
This commit is contained in:
parent
2eccef244d
commit
08406000bd
1 changed files with 1 additions and 1 deletions
2
init.lua
2
init.lua
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue