Browse Source

3 box limit, not 4

birdbane
FatBoy-DOTC 8 months ago
parent
commit
feadb52cb9
  1. 2
      src/engine/InterestManagement/InterestManager.java

2
src/engine/InterestManagement/InterestManager.java

@ -526,7 +526,7 @@ public enum InterestManager implements Runnable {
if (origin == null) if (origin == null)
return; return;
int currentConnections = 0; int currentConnections = 1;
for(PlayerCharacter pc : SessionManager.getAllActivePlayerCharacters()){ for(PlayerCharacter pc : SessionManager.getAllActivePlayerCharacters()){
if(pc.isActive() && pc.isEnteredWorld() && pc.getClientConnection().machineID.equals(player.getClientConnection().machineID)){ if(pc.isActive() && pc.isEnteredWorld() && pc.getClientConnection().machineID.equals(player.getClientConnection().machineID)){
currentConnections++; currentConnections++;

Loading…
Cancel
Save