Browse Source

box flag checker

lakebane-master
FatBoy-DOTC 7 months ago
parent
commit
ae01a421de
  1. 6
      src/engine/workthreads/BoxFlagThread.java

6
src/engine/workthreads/BoxFlagThread.java

@ -12,10 +12,7 @@ package engine.workthreads; @@ -12,10 +12,7 @@ package engine.workthreads;
import engine.Enum;
import engine.InterestManagement.InterestManager;
import engine.InterestManagement.WorldGrid;
import engine.gameManager.BuildingManager;
import engine.gameManager.PowersManager;
import engine.gameManager.SessionManager;
import engine.gameManager.ZergManager;
import engine.gameManager.*;
import engine.math.Vector3fImmutable;
import engine.objects.*;
import engine.server.MBServerStatics;
@ -40,6 +37,7 @@ public class BoxFlagThread implements Runnable { @@ -40,6 +37,7 @@ public class BoxFlagThread implements Runnable {
if(LocalDateTime.now().isAfter(nextPulse)) {
for(PlayerCharacter pc : SessionManager.getAllActivePlayerCharacters()){
if(pc.isEnteredWorld() && pc.isActive()){
ChatManager.chatSystemInfo(pc, " You Are Being Box Checked");
pc.isBoxed = PlayerCharacter.checkIfBoxed(pc);
if(pc.isBoxed) {
if(pc.title.equals(CharacterTitle.BOX) == false) {

Loading…
Cancel
Save