QualityArmory icon indicating copy to clipboard operation
QualityArmory copied to clipboard

[Bug]: When the YMAL file starts with `# @format` this line is duplicated infinitely

Open Foxxite opened this issue 1 year ago • 5 comments

Confirmations

  • [X] I am using the latest plugin version with the required dependencies.
  • [X] There isn't any open issue that shows my problem

What happened?

When saving YMAL files while Prettier is active, a commend containing @format is being added tot he top of the file. For some reason this plugin keeps duplicating that comment infinitely in it's files. Causing the server to freeze and the yaml files to become gigabytes in size.

Expected Behaviour

Comments to not be duplicated

Plugins

N/A

Server Version

Paper version git-Paper-195 (MC: 1.20.1)

Relevant log output

No response

Foxxite avatar Oct 01 '23 18:10 Foxxite