forked from MagicBane/Server
3 box limit, not 4
This commit is contained in:
@@ -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++;
|
||||||
|
|||||||
Reference in New Issue
Block a user