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

Removing snow in the nether, farming modified

- Now, impossible to see snow generated in the nether
- Minimum light level needed to grow wheat and cotton is now 11
This commit is contained in:
LeMagnesium
2014-10-30 22:06:48 +01:00
parent 5250247ac3
commit 9660a2fc60
2 changed files with 3 additions and 2 deletions

View File

@ -81,6 +81,7 @@ end
--This function places snow checking at the same time for snow level and increasing as needed.
--This also takes into account sourrounding snow and makes snow even.
function snow.place(pos)
if pos.y < -19000 then return end -- Don't put anything in the nether!
local node = minetest.get_node_or_nil(pos)
local drawtype = ""
if node and minetest.registered_nodes[node.name] then