Fixed false record count being red

This commit is contained in:
D4rkr34lm
2024-08-16 17:36:43 +02:00
parent 25f6b3c223
commit 15654394b5

View File

@@ -41,6 +41,7 @@ public class TraceRepository {
Region region = Region.getREGION_MAP().get(reader.readUTF());
Date date = (Date) reader.readObject();
File recordsFile = new File(tracesFolder,uuid + ".records");
reader.readInt();
int recordsCount = reader.readInt();
return new Trace(uuid, region, date, metadataFile, recordsFile, recordsCount);