Make line count check more lenient

This commit is contained in:
icelimetea 2022-05-05 07:20:33 +01:00
parent 6bffa06063
commit 113528e1f2

View File

@ -76,7 +76,7 @@ public final class LegacyFrame extends Frame {
try {
List<String> lines = Files.readAllLines(mpticketFile, StandardCharsets.UTF_8);
if (lines.size() != 3) {
if (lines.size() < 3) {
Files.move(
mpticketFile,
mpticketFileCorrupt,