diff --git a/functions.lua b/functions.lua index 839c814..e4263e4 100644 --- a/functions.lua +++ b/functions.lua @@ -7,10 +7,10 @@ function landrush.get_chunk(pos) y = - 32000 elseif ( pos.y < -60 ) then y = -200 - elseif ( pos.y < 140 ) then + elseif ( pos.y < 120 ) then y = -30 else - y = 90 + y = 120 end diff --git a/protection.lua b/protection.lua index 5adcd7e..e3ce8d2 100644 --- a/protection.lua +++ b/protection.lua @@ -90,7 +90,7 @@ function landrush.do_autoban(pos,name) landrush.offense[name].lastpos = nil if ( landrush.offense[name].bancount < 4 ) then - minetest.after( (banlength * 60), minetest.unban_name_or_ip,name ) + minetest.after( (banlength * 60), minetest.unban_player_or_ip,name ) end return