|
|
@ -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()){ |
|
|
|