From a6377cfe6ecfbfa81bd3b8dc772dd1c5659a2ede Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 26 Mar 2024 13:33:18 -0500 Subject: [PATCH] 3 box limit --- src/engine/InterestManagement/InterestManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/InterestManagement/InterestManager.java b/src/engine/InterestManagement/InterestManager.java index c2d5f6ef..cc4019ab 100644 --- a/src/engine/InterestManagement/InterestManager.java +++ b/src/engine/InterestManagement/InterestManager.java @@ -526,7 +526,7 @@ public enum InterestManager implements Runnable { if (origin == null) return; - int currentConnections = 1; + int currentConnections = 0; for(PlayerCharacter pc : SessionManager.getAllActivePlayerCharacters()){ if(pc.isActive() && pc.isEnteredWorld() && pc.getClientConnection().machineID.equals(player.getClientConnection().machineID)){ currentConnections++; @@ -534,7 +534,7 @@ public enum InterestManager implements Runnable { } try { - if (currentConnections >= 3) { + if (currentConnections >= 2) { Session s = SessionManager.getSession(player); if (s.getAccount() != null) { CharSelectScreenMsg cssm = new CharSelectScreenMsg(s, false);