Browse Source

mine lag fix

lakebane-master
FatBoy-DOTC 8 months ago
parent
commit
b3d65ef700
  1. 2
      src/engine/gameManager/SimulationManager.java

2
src/engine/gameManager/SimulationManager.java

@ -252,7 +252,7 @@ public enum SimulationManager {
continue; continue;
} }
if (mine.isActive && (LocalDateTime.now().isAfter(closeTime) || LocalDateTime.now().isBefore(openTime))) { if (mine.isActive && mine.lastClaimer != null && (LocalDateTime.now().isAfter(closeTime) || LocalDateTime.now().isBefore(openTime))) {
mineWindowClose(mine); mineWindowClose(mine);
} }
} }

Loading…
Cancel
Save