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

Implement Option to Disable Warning Log for Failed World Deletion #60

Open
wants to merge 2 commits into
base: 1.21
Choose a base branch
from

Conversation

andantet
Copy link

@andantet andantet commented Oct 2, 2024

Adds an option to disable warning logging due to world deletion.

I frequently encounter a warning whenever I delete a world, cluttering my logs. I want to keep other warnings visible without adjusting my logging settings.

This change is somewhat niche, and it might overlook a potential issue where the folder is in use when deleteDirectory is called. However, forceDeleteOnExit manages the folder appropriately on exit, so a failure may not be a major concern in a multitude of use cases.

The previous method parameter was not accessible
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

Successfully merging this pull request may close these issues.

1 participant