Issue description
When text is printed to a TXT file, it will write the text twice in a row.


How to reproduce this issue?
Step 1: Create a TXT file like in the NorthWestTrees MCreator video.
Step 2: Go to the directory and open the file. The text will be printed twice.
Operating system
Windows
Details
Plugin version: [5.10 / branch:master / ...] MCreator version: 2024.1 / branch:master / ...] Generator type: [neoforge-1.20.4 ...]
Example workspace
devdata-webloadprocedure.zip
Logs
No response
Issue tracker rule checks (please read carefully)