From 0b96f75d6588ea234dffb8c4fff9de3c207f0a94 Mon Sep 17 00:00:00 2001 From: alexerate <35458285+alexerate@users.noreply.github.com> Date: Mon, 5 Feb 2018 23:52:01 +0100 Subject: [PATCH] Add delay for anti_lag --- interact.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interact.lua b/interact.lua index fc982a4..7871198 100644 --- a/interact.lua +++ b/interact.lua @@ -16,8 +16,8 @@ minetest.register_on_protection_violation(function(pos, name) ("%s is protected by %s."):format( minetest.pos_to_string(pos), table.concat(owners, ", "))) - --minetest.after(1,anti_lag,{player=player,playerpos=playerpos}) - player:setpos(playerpos) + minetest.after(1,anti_lag,{player=player,playerpos=playerpos}) + --player:setpos(playerpos) end end)