From 4e969981e019fc1b66d1e92d4270c3767251d86b Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Mon, 2 Jul 2018 15:57:33 +0100 Subject: [PATCH] use 0.4.16 functions --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 2ecb31b..edcd14c 100644 --- a/init.lua +++ b/init.lua @@ -302,7 +302,7 @@ function minetest.is_protected(pos, digger) if pos.y < pla_pos.y then - player:setpos({ + player:set_pos({ x = pla_pos.x, y = pla_pos.y + 0.8, z = pla_pos.z