mirror of
https://github.com/minetest-mods/areas.git
synced 2024-11-18 08:20:24 +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(
|
||||
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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user