Add delay for anti_lag

This commit is contained in:
alexerate 2018-02-05 23:52:01 +01:00
parent b0de983ffb
commit 0b96f75d65

View File

@ -16,8 +16,8 @@ minetest.register_on_protection_violation(function(pos, name)
("%s is protected by %s."):format( ("%s is protected by %s."):format(
minetest.pos_to_string(pos), minetest.pos_to_string(pos),
table.concat(owners, ", "))) table.concat(owners, ", ")))
--minetest.after(1,anti_lag,{player=player,playerpos=playerpos}) minetest.after(1,anti_lag,{player=player,playerpos=playerpos})
player:setpos(playerpos) --player:setpos(playerpos)
end end
end) end)