Split replay folder and file management into their own classes

This commit is contained in:
Jonas Herzig
2021-11-28 14:50:39 +01:00
parent ce5886a427
commit 31817bcf11
12 changed files with 245 additions and 204 deletions

View File

@@ -159,7 +159,7 @@ public class ReplayModReplay implements Module {
}
public void startReplay(File file) throws IOException {
startReplay(core.openReplay(file.toPath()));
startReplay(core.files.open(file.toPath()));
}
public void startReplay(ReplayFile replayFile) throws IOException {