manually add one to player count when balancing players

This commit is contained in:
ajgeiss0702
2021-10-21 13:23:00 -07:00
parent aafa15db05
commit a72e3f67c1
6 changed files with 33 additions and 2 deletions
@@ -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();
}