Skip to content

Commit

Permalink
Altered some debug messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmccoystephenson committed Oct 6, 2021
1 parent 9e6ce2c commit dc5a34b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public void handle(PlayerQuitEvent event) {
Logger.getInstance().log(player.getName() + " has quit the server. Ending their session.");
currentSession.endSession();
double totalHoursSpent = record.getHoursSpent() + currentSession.getMinutesSpent() / 60;
Logger.getInstance().log("Total hours spent: " + totalHoursSpent);
Logger.getInstance().log("Total hours spent on the server: " + totalHoursSpent);
record.setHoursSpent(totalHoursSpent);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ private double calculateMinutesSpent() {
Duration duration = Duration.between(loginDate, logoutDate);
double seconds = duration.getSeconds();
double minutes = seconds / 60;
Logger.getInstance().log("Minutes calculated: " + minutes);
Logger.getInstance().log("Minutes calculated for session: " + minutes);
return minutes;
}

Expand Down

0 comments on commit dc5a34b

Please sign in to comment.