From a5a591241c812180dec334ac26acd6c8104c9e0f Mon Sep 17 00:00:00 2001 From: entuland Date: Sun, 19 Jun 2022 13:09:43 +0200 Subject: [PATCH] use current "player:move_to()" current syntax instead of "moveto" --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 18c404f..3a942a5 100644 --- a/init.lua +++ b/init.lua @@ -339,7 +339,7 @@ function submit.teleport(form) return end local player = minetest.get_player_by_name(form.playername) - player:moveto(pad.pos, false) + player:move_to(pad.pos, false) local padname = form.globalnet and pad.global_fullname or pad.local_fullname notify(form.playername, "Teleported to " .. padname)