Comment and clarity cleanup.

This commit is contained in:
2023-01-21 12:52:52 -05:00
parent fa0cfa5191
commit e31f320b45
2 changed files with 9 additions and 12 deletions
+3 -6
View File
@@ -237,8 +237,8 @@ public class HourlyJobThread implements Runnable {
return false;
}
// Mine building still stands.
// It was never knocked down
// Mine building still stands; nothing to do.
// We can early exit here.
if (mineBuilding.getRank() > 0) {
mine.setActive(false);
@@ -250,16 +250,13 @@ public class HourlyJobThread implements Runnable {
// we will therefore set it to errant
// and keep the window open.
if (!Mine.validClaimer(mine.lastClaimer)) {
if (!Mine.validateClaimer(mine.lastClaimer)) {
mine.lastClaimer = null;
mine.updateGuildOwner(null);
mine.setActive(true);
return false;
}
if (mine.getOwningGuild().isEmptyGuild() || mine.getOwningGuild().getNation().isEmptyGuild())
return false;
//Update ownership to map
mine.guildName = mine.getOwningGuild().getName();