Browse Source

added check for double mines

master
FatBoy-DOTC 2 years ago
parent
commit
b2fd5990af
  1. 2
      src/engine/workthreads/HourlyJobThread.java

2
src/engine/workthreads/HourlyJobThread.java

@ -196,7 +196,7 @@ public class HourlyJobThread implements Runnable {
// set to the current mine window. // set to the current mine window.
if (mine.getOwningGuild().getNation().getMineTime() == if (mine.getOwningGuild().getNation().getMineTime() ==
LocalDateTime.now().getHour()) { LocalDateTime.now().getHour() && mine.wasClaimed == false) {
HourlyJobThread.mineWindowOpen(mine); HourlyJobThread.mineWindowOpen(mine);
Mine.setLastChange(System.currentTimeMillis()); Mine.setLastChange(System.currentTimeMillis());
continue; continue;

Loading…
Cancel
Save