From 610053d4c39ca7a496ac3aebcd948c64d62353e9 Mon Sep 17 00:00:00 2001 From: Sergei Mozhaisky Date: Fri, 10 Apr 2020 11:30:42 +0000 Subject: [PATCH] patch protector for 5.2.0 --- protector/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protector/init.lua b/protector/init.lua index ae8d0ec..7cb5bd9 100644 --- a/protector/init.lua +++ b/protector/init.lua @@ -299,7 +299,7 @@ function minetest.is_protected(pos, digger) -- flip player when protection violated if protector_flip then -- ugly, ugly hack. we teleport player only if is_protected is called from core.node_dig - if string.match(debug.traceback(), '') then + if string.match(debug.traceback(), '') then player:set_pos({ x = statspawn.x, y = statspawn.y,