Skip to content

Commit

Permalink
Don't log when a player was skipped due to old
Browse files Browse the repository at this point in the history
  • Loading branch information
TechnicJelle committed May 2, 2023
1 parent 2bcf529 commit 5975749
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.technicjelle</groupId>
<artifactId>BlueMapOfflinePlayerMarkers</artifactId>
<version>2.5</version>
<version>2.6</version>
<packaging>jar</packaging>

<name>BlueMapOfflinePlayerMarkers</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public static void loadOfflineMarkers() {
long timeSinceLastPlayed = System.currentTimeMillis() - op.getLastPlayed();
// logger.info("Player " + op.getName() + " was last seen " + timeSinceLastPlayed + "ms ago");
if (config.expireTimeInHours > 0 && timeSinceLastPlayed > config.expireTimeInHours * 60 * 60 * 1000) {
logger.info("Player " + op.getName() + " was last seen too long ago, skipping");
logger.fine("Player " + op.getName() + " was last seen too long ago, skipping");
continue;
}

Expand Down

0 comments on commit 5975749

Please sign in to comment.