diff --git a/mce.py b/mce.py index 0217257..2ae2e4a 100644 --- a/mce.py +++ b/mce.py @@ -948,15 +948,15 @@ class mce(object): c.Blocks[x,z,h+1:] = 0 #air c.Blocks[x,z,h:h+1] = 2 #grass + c.Blocks[x,z,h-4:h] = 3 #dirt c.Blocks[x,z,:h-4] = 1 #rock - if h <= water_level: + if h < water_level: c.Blocks[x,z,h+1:water_level] = 9 #water - if h <= water_level+3: - c.Blocks[x,z,h-3:h+1] = 12 #sand if it's under water level - else: - c.Blocks[x,z,h-4:h] = 3 #dirt - c.Blocks[x,z,0] = 7 + if h < water_level+2: + c.Blocks[x,z,h-2:h+1] = 12 #sand if it's near water level + + c.Blocks[x,z,0] = 7 #bedrock c.chunkChanged() c.TerrainPopulated = False