From dfaebe4ad1065faef218c613a5a16f2bb445fb5b Mon Sep 17 00:00:00 2001 From: zmv7 <72821250+zmv7@users.noreply.github.com> Date: Wed, 23 Feb 2022 22:13:19 +0500 Subject: [PATCH] multicraft2 compability --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 38f6db6..1e0484c 100644 --- a/init.lua +++ b/init.lua @@ -1,6 +1,6 @@ local HUD = nil minetest.register_on_punchnode(function(pos, node) -if core.localplayer:get_control().aux1 and tostring(core.localplayer:get_velocity()) == '(0, 0, 0)' then +if core.localplayer:get_control().aux1 and core.pos_to_string(core.localplayer:get_velocity()) == '(0,0,0)' then if not HUD then HUD = core.localplayer:hud_add({ hud_elem_type = "waypoint",