/green now fails a bit less.

This commit is contained in:
TomyLobo 2011-08-20 15:17:29 +02:00
parent 3c92bd9451
commit 2893438f8e

View File

@ -2075,15 +2075,15 @@ public int green(Vector pos, double radius)
Vector pt = new Vector(x, y, z);
int id = getBlockType(pt);
if (id == 0)
if (id == 0 || id == BlockID.SNOW)
continue;
if (id == BlockID.DIRT) {
if (setBlock(pt, grass)) {
++affected;
}
break;
}
break;
}
}
}