forked from Mirrorlandia_minetest/minetest
Probably fixed the single-MapBlock generator using 1 block lower water height than it should
This commit is contained in:
parent
72e742c24e
commit
1d372b9273
@ -4109,7 +4109,7 @@ MapBlock * ServerMap::generateBlock(
|
|||||||
if(real_y > surface_y)
|
if(real_y > surface_y)
|
||||||
{
|
{
|
||||||
// If under water level, it's water
|
// If under water level, it's water
|
||||||
if(real_y < WATER_LEVEL)
|
if(real_y <= WATER_LEVEL)
|
||||||
{
|
{
|
||||||
n.d = water_material;
|
n.d = water_material;
|
||||||
n.setLight(LIGHTBANK_DAY,
|
n.setLight(LIGHTBANK_DAY,
|
||||||
|
Loading…
Reference in New Issue
Block a user