mirror of
https://github.com/Xiao-MoMi/Custom-Fishing.git
synced 2025-12-19 15:09:24 +00:00
Cancel on disable
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user