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

Exception when directory doesn't exist upon map init #19

Open
Blade12629 opened this issue Nov 24, 2023 · 0 comments
Open

Exception when directory doesn't exist upon map init #19

Blade12629 opened this issue Nov 24, 2023 · 0 comments

Comments

@Blade12629
Copy link
Contributor

https://github.com/kaczy93/centredsharp/blob/e4563d5ca50254f4358a391c9ca17a46ae73adb3/Server/Map/Landscape.cs#L101C32-L101C32

When the directory doesn't exist it will crash with a DirectoryNotFoundException

Map file not found, do you want to create it? [y/n]
y
System.IO.DirectoryNotFoundException: Could not find a part of the path

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant