Skip to content

Commit

Permalink
fix: possibly fixes respawn screen bug
Browse files Browse the repository at this point in the history
  • Loading branch information
RoinujNosde committed Sep 4, 2023
1 parent 8e91eb1 commit db504dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ private void processLeavingDuringSemiFinals(@NotNull Warrior warrior) {
if (player == null) return;

waitingThirdPlace.add(warrior);
Bukkit.getScheduler().runTask(plugin, () -> player.spigot().respawn());
Bukkit.getScheduler().runTaskLater(plugin, () -> player.spigot().respawn(), 1L);
}

private void processNotCurrentDuelistLeaving(@NotNull Warrior warrior, List<Warrior> duelLosers) {
Expand Down

0 comments on commit db504dd

Please sign in to comment.