mirror of
https://github.com/minetest-mods/areas.git
synced 2024-12-28 03:30:39 +01:00
Add delay for anti_lag
This commit is contained in:
parent
b0de983ffb
commit
0b96f75d65
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user