Add delay for anti_lag

This commit is contained in:
alexerate 2018-02-05 23:52:01 +01:00
parent b0de983ffb
commit 0b96f75d65
1 changed files with 2 additions and 2 deletions

View File

@ -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)