Skip to content

Commit

Permalink
don't try to skip queue server if the player used /ajq pausequeueserver
Browse files Browse the repository at this point in the history
  • Loading branch information
ajgeiss0702 committed Mar 5, 2025
1 parent 7db99d1 commit dfdf4b8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ public void onServerKick(AdaptedPlayer player, @NotNull AdaptedServer from, Comp
public @Nullable AdaptedServer changeTargetServer(AdaptedPlayer player, AdaptedServer initialChoice) {

if(!main.getConfig().getBoolean("skip-queue-server-if-possible")) return null;
if(PauseQueueServer.pausedPlayers.contains(player)) return null;

Map<String, List<String>> queueServers = main.getQueueServers();

Expand Down

0 comments on commit dfdf4b8

Please sign in to comment.