i use gentoo btw

This commit is contained in:
neoapps-dev
2026-04-21 20:04:56 +03:00
parent ac2dcee32a
commit 1beb168ec9
4 changed files with 9 additions and 3 deletions
+3
View File
@@ -120,6 +120,9 @@ void GrassTile::tick(Level *level, int x, int y, int z, Random *random)
}
}
}
Material* above = level->getMaterial(x, y + 1, z);
if (above->isSolid() || above->isLiquid()) level->setTileAndUpdate(x, y, z, Tile::dirt_Id);
}
int GrassTile::getResource(int data, Random *random, int playerBonusLevel)