diff options
author | Cow <cow@volloeko.de> | 2022-10-23 13:26:42 +0200 |
---|---|---|
committer | Cow <cow@volloeko.de> | 2022-10-23 13:26:42 +0200 |
commit | c091d26e534ab51a3d4f2ed3c4f285f4c318aeee (patch) | |
tree | 96e6b495d7b289da7cbf0578b6df4ffbaaea7b0c /src/main/java/de/cowtipper/cowlection/Cowlection.java | |
parent | feea22f251cd188d91b843ff9348e057e0f9e91d (diff) | |
download | Cowlection-c091d26e534ab51a3d4f2ed3c4f285f4c318aeee.tar.gz Cowlection-c091d26e534ab51a3d4f2ed3c4f285f4c318aeee.tar.bz2 Cowlection-c091d26e534ab51a3d4f2ed3c4f285f4c318aeee.zip |
Added accumulating results for `/moo analyzeIsland`
Diffstat (limited to 'src/main/java/de/cowtipper/cowlection/Cowlection.java')
-rw-r--r-- | src/main/java/de/cowtipper/cowlection/Cowlection.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main/java/de/cowtipper/cowlection/Cowlection.java b/src/main/java/de/cowtipper/cowlection/Cowlection.java index 2ee7e34..4e9a858 100644 --- a/src/main/java/de/cowtipper/cowlection/Cowlection.java +++ b/src/main/java/de/cowtipper/cowlection/Cowlection.java @@ -4,6 +4,7 @@ import de.cowtipper.cowlection.chesttracker.ChestTracker; import de.cowtipper.cowlection.command.*; import de.cowtipper.cowlection.config.CredentialStorage; import de.cowtipper.cowlection.config.MooConfig; +import de.cowtipper.cowlection.handler.AnalyzeIslandTracker; import de.cowtipper.cowlection.handler.DungeonCache; import de.cowtipper.cowlection.handler.FriendsHandler; import de.cowtipper.cowlection.handler.PlayerCache; @@ -50,6 +51,7 @@ public class Cowlection { private PlayerCache playerCache; private DungeonCache dungeonCache; private ChestTracker chestTracker; + private AnalyzeIslandTracker analyzeIslandTracker; private Logger logger; @EventHandler @@ -155,6 +157,13 @@ public class Cowlection { return chestTracker; } + public AnalyzeIslandTracker getAnalyzeIslandTracker() { + if (analyzeIslandTracker == null) { + analyzeIslandTracker = new AnalyzeIslandTracker(this); + } + return analyzeIslandTracker; + } + public File getModsDirectory() { return modsDir; } |