Skip to content

Commit

Permalink
Merge branch 'hotfix#3'
Browse files Browse the repository at this point in the history
  • Loading branch information
knewjade committed Jun 4, 2020
2 parents 4df3cc3 + 5927ffe commit 7d3c0b9
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/main/java/entry/path/PathEntryPoint.java
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,16 @@ else if (!field.isEmpty(x, y))
output("# Enumerate pieces");
boolean isUsingHold = settings.isUsingHold();
int piecesDepth = generator.getDepth();
output("Piece pop count = " + (isUsingHold && maxDepth < piecesDepth ? maxDepth + 1 : maxDepth));
int popCount = isUsingHold && maxDepth < piecesDepth ? maxDepth + 1 : maxDepth;
output("Piece pop count = " + popCount);
if (popCount < piecesDepth) {
output();
output("####################################################################");
output("WARNING: more pieces is inputted than necessary.");
output(" so redundant results may be obtained.");
output("####################################################################");
output();
}

output();

Expand Down

0 comments on commit 7d3c0b9

Please sign in to comment.