1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-09-29 07:50:35 +02:00

Remove debug line in init.lua

This commit is contained in:
LeMagnesium 2014-12-27 18:35:33 +01:00
parent 3b8dea790c
commit 5af89270ec

View File

@ -180,42 +180,34 @@ minetest.register_on_generated(function(minp, maxp, seed)
local visd = area:index(x, yasurf-1, z - 1)
if data[vie] == c_tree then
highlandpools_remtree(x + 1, yasurf, z, area, data)
print("w at ".. x+1 ..","..yasurf..","..z)
data[vie] = c_watsour
elseif data[vie] == c_air
or data[vie] == c_apple
or data[vie] == c_leaves then
print("w at ".. x+1 ..","..yasurf..","..z)
data[vie] = c_watsour
end
if data[viw] == c_tree then
highlandpools_remtree(x - 1, yasurf, z, area, data)
print("w at ".. x-1 ..","..yasurf..","..z)
data[viw] = c_watsour
elseif data[viw] == c_air
or data[viw] == c_apple
or data[viw] == c_leaves then
print("w at ".. x-1 ..","..yasurf..","..z)
data[viw] = c_watsour
end
if data[vin] == c_tree then
highlandpools_remtree(x, yasurf, z + 1, area, data)
print("w at "..x..","..yasurf..","..z+1)
data[vin] = c_watsour
elseif data[vin] == c_air
or data[vin] == c_apple
or data[vin] == c_leaves then
print("w at "..x..","..yasurf..","..z+1)
data[vin] = c_watsour
end
if data[vis] == c_tree then
highlandpools_remtree(x, yasurf, z - 1, area, data)
print("w at "..x..","..yasurf..","..z-1)
data[visd] = c_watsour
elseif data[vis] == c_air
or data[vis] == c_apple
or data[vis] == c_leaves then
print("w at "..x..","..yasurf..","..z-1)
data[vis] = c_watsour
end
end