Replay Mod (Fabric & Forge)

Replay Mod (Fabric & Forge)

1M Downloads

DirectoryNotEmptyException when leave the server after "Stop Recording"

i0xHeX opened this issue ยท 1 comments

commented

Steps to reproduce:

  1. Join the server (automatic recording will start)
  2. Do few actions, load chunks etc
  3. Press "Stop Recording"
  4. Do more actions
  5. Leave the server

This will save replay file and throw an exception:
https://pastebin.com/51rAYLgP

Info:

  • Windows 10 x64
  • Java 14
  • Replay Mod 2.3.0 b1 (1.15.2 / Fabric)
commented

In some cases it does not throw an exception, may be it should write more data (after Stop pressed) in file inside ".tmp" folder, like new chunks, actions etc.

Didn't get exact difference between reproducing steps, but at least after stop pressed I fly around till file become greater, and then leave the server.