Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify new expression (IDE0090) #3

Open
wants to merge 1 commit into
base: v4
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions en/cmllib.core/getting-started/MinecraftPath.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ Initialize `MinecraftLauncher` with custom Minecraft path and default directory

```csharp
// initialize launcher with the specific path
MinecraftPath myPath = new MinecraftPath("./games");
MinecraftLauncher launcher = new MinecraftLauncher(myPath);
MinecraftPath myPath = new("./games");
MinecraftLauncher launcher = new(myPath);

// myPath.BasePath : ./games
// myPath.Library : ./games/libraries
Expand Down Expand Up @@ -67,7 +67,7 @@ All paths are stored as absolute paths, even when a relative path is passed.
Set path properties to what you want. All properties (`Libraries`, `Versions`, etc) are described in [#properties](MinecraftPath.md#properties "mention")

```csharp
MinecraftPath myPath = new MinecraftPath();
MinecraftPath myPath = new();
myPath.Libraries = "./commons/libs";
myPath.Versions = "./commons/versions";
myPath.Assets = MinecraftPath.GetOSDefaultPath() + "/assets";
Expand Down