From 5ba476e5a503c8826d734fca52ac44df1180c860 Mon Sep 17 00:00:00 2001
From: FatBoy-DOTC <justin.chucksinsulating@gmail.com>
Date: Sun, 16 Mar 2025 08:58:49 -0500
Subject: [PATCH] new box flag system

---
 src/engine/objects/PlayerCharacter.java | 29 ++++---------------------
 1 file changed, 4 insertions(+), 25 deletions(-)

diff --git a/src/engine/objects/PlayerCharacter.java b/src/engine/objects/PlayerCharacter.java
index 0b70d0ef..b309d665 100644
--- a/src/engine/objects/PlayerCharacter.java
+++ b/src/engine/objects/PlayerCharacter.java
@@ -5202,33 +5202,12 @@ public class PlayerCharacter extends AbstractCharacter {
                     this.safeZone = this.isInSafeZone();
 
                     if(this.isActive && this.enteredWorld) {
-                        if (!this.timestamps.containsKey("nextBoxCheck"))
-                            this.timestamps.put("nextBoxCheck", System.currentTimeMillis() + 10000);
+                       // if (!this.timestamps.containsKey("nextBoxCheck"))
+                     //       this.timestamps.put("nextBoxCheck", System.currentTimeMillis() + 1000);
 
-                       // if (!this.isBoxed && this.timestamps.get("nextBoxCheck") < System.currentTimeMillis()) {
-                       //     this.isBoxed = checkIfBoxed(this);
-                       //     this.timestamps.put("nextBoxCheck", System.currentTimeMillis() + 10000);
-                        //}
-
-                        if(this.timestamps.get("nextBoxCheck") < System.currentTimeMillis()) {
+                        //if(this.timestamps.get("nextBoxCheck") < System.currentTimeMillis()) {
                             updateBoxStatus(checkIfBoxed(this));
-                            this.timestamps.put("nextBoxCheck", System.currentTimeMillis() + 10000);
-                        }
-
-                        //if (this.isBoxed){
-                            //if(!this.title.equals(CharacterTitle.PVE)){
-                            //    this.title = CharacterTitle.PVE;
-                            //    InterestManager.setObjectDirty(this);
-                            //    InterestManager.reloadCharacter(this, false);
-                            //    this.setDirtyLoad(true);
-                            //}
-                        //}else {
-                        //    if (!this.title.equals(CharacterTitle.NONE)) {
-                        //        this.title = CharacterTitle.NONE;
-                        //        InterestManager.setObjectDirty(this);
-                        //        InterestManager.reloadCharacter(this, false);
-                        //        this.setDirtyLoad(true);
-                        //    }
+                        //    this.timestamps.put("nextBoxCheck", System.currentTimeMillis() + 1000);
                         //}
 
                         if (this.level < 10 && this.enteredWorld) {