manually add one to player count when balancing players
This commit is contained in:
@@ -245,6 +245,11 @@ public interface QueueServer {
|
||||
*/
|
||||
boolean canJoinFull(AdaptedPlayer player);
|
||||
|
||||
/**
|
||||
* Adds one to the player count for a server (temporarily until the next server ping)
|
||||
*/
|
||||
void addPlayer(AdaptedServer server);
|
||||
|
||||
|
||||
/**
|
||||
* elliot is bad
|
||||
|
||||
@@ -28,4 +28,9 @@ public interface AdaptedServerPing extends Handle {
|
||||
* @return The maximum number of players that can join
|
||||
*/
|
||||
int getMaxPlayers();
|
||||
|
||||
/**
|
||||
* Temporarly adds one player to the player count
|
||||
*/
|
||||
void addPlayer();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user