mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Probably fixed the single-MapBlock generator using 1 block lower water height than it should
This commit is contained in:
parent
72e742c24e
commit
1d372b9273
1 changed files with 1 additions and 1 deletions
|
@ -4109,7 +4109,7 @@ MapBlock * ServerMap::generateBlock(
|
|||
if(real_y > surface_y)
|
||||
{
|
||||
// If under water level, it's water
|
||||
if(real_y < WATER_LEVEL)
|
||||
if(real_y <= WATER_LEVEL)
|
||||
{
|
||||
n.d = water_material;
|
||||
n.setLight(LIGHTBANK_DAY,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue