fix setCell
All checks were successful
Linux arm64 / Build (push) Successful in 34s

This commit is contained in:
2025-01-21 21:01:30 +01:00
parent a981034030
commit dabcbe1d9a

View File

@@ -31,7 +31,12 @@ public class Sudoku {
return false;
}
}
return true;
Cell cell = getCell(x, y);
if (cell instanceof MutableCell mCell) {
mCell.setSymbolIndex(value);
return true;
}
return false;
}
public Cell getCell(int x, int y) {