separando a mensagem de coin do vote

This commit is contained in:
nearfe 2024-06-14 20:29:44 -03:00
parent 4e6b65f5a3
commit 5e7cad1696
1 changed files with 4 additions and 0 deletions

View File

@ -466,6 +466,10 @@ public class MatchListener implements Listener {
}
}
if (match.isShouldGiveXp()) {
match.broadcast("");
}
TaskUtil.runAsync(() -> this.plugin.getVoteManager().sendVoteMessage(player, match.getArena()));
if (!playerData.canPlayRanked() && !player.hasPermission("practice.ranked.bypass")) {