mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2024-12-27 05:00:08 +08:00
Changed //smooth to smooth nearly everything.
This commit is contained in:
parent
8bb0629d79
commit
8ea980a303
@ -2276,7 +2276,7 @@ public int getHighestTerrainBlock(int x, int z, int minY, int maxY) {
|
|||||||
Vector pt = new Vector(x, y, z);
|
Vector pt = new Vector(x, y, z);
|
||||||
int id = getBlockType(pt);
|
int id = getBlockType(pt);
|
||||||
|
|
||||||
if (id == 1 // stone
|
if (!BlockType.canPassThrough(id) /*id == 1 // stone
|
||||||
|| id == 2 // grass
|
|| id == 2 // grass
|
||||||
|| id == 3 // dirt
|
|| id == 3 // dirt
|
||||||
|| id == 7 // bedrock
|
|| id == 7 // bedrock
|
||||||
@ -2293,7 +2293,7 @@ public int getHighestTerrainBlock(int x, int z, int minY, int maxY) {
|
|||||||
|| id == 16 // gold ore
|
|| id == 16 // gold ore
|
||||||
|| id == 56 // diamond ore
|
|| id == 56 // diamond ore
|
||||||
|| id == 73 // redstone ore
|
|| id == 73 // redstone ore
|
||||||
|| id == 74 // redstone ore (active)
|
|| id == 74 // redstone ore (active)*/
|
||||||
) {
|
) {
|
||||||
return y;
|
return y;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user