aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/de/cowtipper/cowlection/Cowlection.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/de/cowtipper/cowlection/Cowlection.java')
-rw-r--r--src/main/java/de/cowtipper/cowlection/Cowlection.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/de/cowtipper/cowlection/Cowlection.java b/src/main/java/de/cowtipper/cowlection/Cowlection.java
index e91f0b6..f4c1602 100644
--- a/src/main/java/de/cowtipper/cowlection/Cowlection.java
+++ b/src/main/java/de/cowtipper/cowlection/Cowlection.java
@@ -9,6 +9,7 @@ import de.cowtipper.cowlection.handler.FriendsHandler;
import de.cowtipper.cowlection.handler.PlayerCache;
import de.cowtipper.cowlection.listener.ChatListener;
import de.cowtipper.cowlection.listener.PlayerListener;
+import de.cowtipper.cowlection.partyfinder.Rules;
import de.cowtipper.cowlection.util.ChatHelper;
import de.cowtipper.cowlection.util.VersionChecker;
import net.minecraft.client.Minecraft;
@@ -41,6 +42,7 @@ public class Cowlection {
private File modOutDir;
private MooConfig config;
private CredentialStorage moo;
+ private Rules partyFinderRules;
private FriendsHandler friendsHandler;
private VersionChecker versionChecker;
private ChatHelper chatHelper;
@@ -64,6 +66,7 @@ public class Cowlection {
friendsHandler = new FriendsHandler(this, new File(configDir, "friends.json"));
moo = new CredentialStorage(new Configuration(new File(configDir, "do-not-share-me-with-other-players.cfg")));
+ partyFinderRules = new Rules(this, new File(configDir, "partyfinder-rules.json"));
config = new MooConfig(this, new Configuration(new File(configDir, MODID + ".cfg"), "2"));
}
@@ -103,6 +106,10 @@ public class Cowlection {
return moo;
}
+ public Rules getPartyFinderRules() {
+ return partyFinderRules;
+ }
+
public FriendsHandler getFriendsHandler() {
return friendsHandler;
}