diff --git a/core/src/main/java/net/momirealms/customfishing/bukkit/competition/BukkitCompetitionManager.java b/core/src/main/java/net/momirealms/customfishing/bukkit/competition/BukkitCompetitionManager.java index 5aad0848..7e5edd42 100644 --- a/core/src/main/java/net/momirealms/customfishing/bukkit/competition/BukkitCompetitionManager.java +++ b/core/src/main/java/net/momirealms/customfishing/bukkit/competition/BukkitCompetitionManager.java @@ -90,7 +90,8 @@ public class BukkitCompetitionManager implements CompetitionManager { this.timerCheckTask.cancel(); if (currentCompetition != null && currentCompetition.isOnGoing()) this.currentCompetition.stop(false); - this.commandConfigMap.clear(); + if (this.redisPlayerCount != null) + this.commandConfigMap.clear(); this.timeConfigMap.clear(); }