mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Probably fixed the single-MapBlock generator using 1 block lower water height than it should
This commit is contained in:
@@ -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,
|
||||||
|
Reference in New Issue
Block a user