Add option to allow re-queueing for groups

This commit is contained in:
ajgeiss0702
2023-07-20 22:41:41 -05:00
parent 67358a4d58
commit 13380dbd88
5 changed files with 39 additions and 16 deletions
@@ -1,8 +1,9 @@
package us.ajg0702.queue.api.queues;
import org.jetbrains.annotations.Nullable;
import us.ajg0702.queue.api.players.AdaptedPlayer;
import us.ajg0702.queue.api.server.AdaptedServer;
public interface Balancer {
AdaptedServer getIdealServer(AdaptedPlayer player);
AdaptedServer getIdealServer(@Nullable AdaptedPlayer player);
}