diff options
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; } |