Browse Source

box flag checker

lakebane-master
FatBoy-DOTC 5 months ago
parent
commit
469662f732
  1. 2
      src/engine/workthreads/BoxFlagThread.java

2
src/engine/workthreads/BoxFlagThread.java

@ -35,7 +35,7 @@ public class BoxFlagThread implements Runnable {
@Override @Override
public void run() { public void run() {
LocalDateTime nextPulse = LocalDateTime.now(); LocalDateTime nextPulse = LocalDateTime.now().minusMinutes(1);
while(true){ while(true){
if(LocalDateTime.now().isAfter(nextPulse)) { if(LocalDateTime.now().isAfter(nextPulse)) {
for(PlayerCharacter pc : SessionManager.getAllActivePlayerCharacters()){ for(PlayerCharacter pc : SessionManager.getAllActivePlayerCharacters()){

Loading…
Cancel
Save