1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-06-28 14:16:06 +02:00

Removing snow falls in the nether

- Placing a limitation at y = - 19600 for the snow falls, under they won't
  happend.
- Changing reload intervals for beginners' chests 1 and 2 (now 1h and
  40min)
This commit is contained in:
LeMagnesium
2014-11-16 21:00:43 +01:00
parent 5e94b24fca
commit 87b1cd745f
2 changed files with 3 additions and 4 deletions

View File

@ -48,7 +48,7 @@ minetest.register_globalstep(function(dtime)
return
end
for _, player in ipairs(minetest.get_connected_players()) do
if math.random() > PPPCHA then
if math.random() > PPPCHA or player:getpos().y < -19600 then
return
end
local ppos = player:getpos()