Fix player being removed before allow-group-requeue could work

This commit is contained in:
ajgeiss0702
2023-07-20 23:17:27 -05:00
parent 13380dbd88
commit 6e678c046d
3 changed files with 20 additions and 1 deletions
@@ -1,6 +1,7 @@
package us.ajg0702.queue.api.players;
import us.ajg0702.queue.api.queues.QueueServer;
import us.ajg0702.queue.api.server.AdaptedServer;
import javax.annotation.Nullable;
import java.util.UUID;
@@ -68,4 +69,10 @@ public interface QueuePlayer {
* @return the max number of seconds this player can be offline before being removed from the queue
*/
int getMaxOfflineTime();
/**
* Gets the server that the player was in when they joined the queue
* @return the server that the player was in when they joined the queue
*/
AdaptedServer getInitialServer();
}