SuccessChanges

Summary

  1. Only rewrite Replay Files once after Replay is closed, in order to prevent rewriting the Replay multiple times (e.g. if a Thumbnail gets added while viewing it and the Markers are added upon exiting). This also fixes the Windows File System not allowing the Replay Mod to delete the original .mcpr file because it thinks that it's still being edited. (details)
  2. Optimized Aspect Ratio Calculation in ReplayScreenshot to replace 1280/720 with 16/9 (details)
Commit 4a2c7df25f5159ecc5a3525506030befee9f968b by CrushedPixel
Only rewrite Replay Files once after Replay is closed, in order to prevent rewriting the Replay multiple times (e.g. if a Thumbnail gets added while viewing it and the Markers are added upon exiting). This also fixes the Windows File System not allowing the Replay Mod to delete the original .mcpr file because it thinks that it's still being edited.

Resolves https://trello.com/c/CmKfRKc0/
The file was modifiedsrc/main/java/eu/crushedpixel/replaymod/ReplayMod.java
The file was modifiedsrc/main/java/eu/crushedpixel/replaymod/registry/ReplayFileAppender.java
Commit c811c81be18dd2dc8bcbfbbb405e313435978c95 by CrushedPixel
Optimized Aspect Ratio Calculation in ReplayScreenshot to replace 1280/720 with 16/9
The file was modifiedsrc/main/java/eu/crushedpixel/replaymod/video/ReplayScreenshot.java