mirror of
https://github.com/minetest-mods/areas.git
synced 2024-11-18 08:20:24 +01:00
remove obsolet code
This commit is contained in:
parent
0b96f75d65
commit
599d9350bb
@ -17,10 +17,9 @@ minetest.register_on_protection_violation(function(pos, name)
|
||||
minetest.pos_to_string(pos),
|
||||
table.concat(owners, ", ")))
|
||||
minetest.after(1,anti_lag,{player=player,playerpos=playerpos})
|
||||
--player:setpos(playerpos)
|
||||
end
|
||||
end)
|
||||
|
||||
function anti_lag(player)
|
||||
player.player:setpos(player.playerpos)
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user