9
0
mirror of https://github.com/Xiao-MoMi/Custom-Fishing.git synced 2026-01-06 15:51:50 +00:00
This commit is contained in:
Xiao-MoMi
2022-10-22 14:45:56 +08:00
parent 809d9d688b
commit 3b4635c2a1
14 changed files with 1033 additions and 30 deletions

View File

@@ -62,8 +62,6 @@ public class Competition {
Collection<? extends Player> playerCollections = Bukkit.getOnlinePlayers();
if (playerCollections.size() >= competitionConfig.getMinPlayers() || forceStart) {
currentCompetition = this;
if (ConfigManager.useRedis){
ranking = new RedisRankingImpl();
} else {
@@ -85,8 +83,9 @@ public class Competition {
}
else {
for (Player player : playerCollections) {
AdventureUtil.playerMessage(player, MessageManager.notEnoughPlayers);
AdventureUtil.playerMessage(player, MessageManager.prefix + MessageManager.notEnoughPlayers);
}
currentCompetition = null;
}
}