From fa0c8686c1a9bdeda09453a8bd42301c5a0b6f3c Mon Sep 17 00:00:00 2001 From: Olof Larsson Date: Fri, 18 Oct 2013 14:52:32 +0200 Subject: [PATCH] MCore change --- src/com/massivecraft/factions/entity/BoardColl.java | 2 +- src/com/massivecraft/factions/entity/MConfColl.java | 4 ++-- src/com/massivecraft/factions/entity/UConfColl.java | 5 ++--- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/com/massivecraft/factions/entity/BoardColl.java b/src/com/massivecraft/factions/entity/BoardColl.java index ea17dd47..30335b6b 100644 --- a/src/com/massivecraft/factions/entity/BoardColl.java +++ b/src/com/massivecraft/factions/entity/BoardColl.java @@ -21,7 +21,7 @@ public class BoardColl extends Coll implements BoardInterface public BoardColl(String name) { - super(name, Board.class, MStore.getDb(ConfServer.dburi), Factions.get(), true, true); + super(name, Board.class, MStore.getDb(ConfServer.dburi), Factions.get(), false, true, true); } // -------------------------------------------- // diff --git a/src/com/massivecraft/factions/entity/MConfColl.java b/src/com/massivecraft/factions/entity/MConfColl.java index 4829cb52..c7a705d6 100644 --- a/src/com/massivecraft/factions/entity/MConfColl.java +++ b/src/com/massivecraft/factions/entity/MConfColl.java @@ -17,7 +17,7 @@ public class MConfColl extends Coll public static MConfColl get() { return i; } private MConfColl() { - super(Const.COLLECTION_BASENAME_MCONF, MConf.class, MStore.getDb(ConfServer.dburi), Factions.get(), true, false); + super(Const.COLLECTION_BASENAME_MCONF, MConf.class, MStore.getDb(ConfServer.dburi), Factions.get()); } // -------------------------------------------- // @@ -29,7 +29,7 @@ public class MConfColl extends Coll { super.init(); - MConf.i = this.get(MCore.INSTANCE); + MConf.i = this.get(MCore.INSTANCE, true); } } diff --git a/src/com/massivecraft/factions/entity/UConfColl.java b/src/com/massivecraft/factions/entity/UConfColl.java index 2898d610..b001b060 100644 --- a/src/com/massivecraft/factions/entity/UConfColl.java +++ b/src/com/massivecraft/factions/entity/UConfColl.java @@ -14,7 +14,7 @@ public class UConfColl extends Coll public UConfColl(String name) { - super(name, UConf.class, MStore.getDb(ConfServer.dburi), Factions.get(), true, false); + super(name, UConf.class, MStore.getDb(ConfServer.dburi), Factions.get()); } // -------------------------------------------- // @@ -25,8 +25,7 @@ public class UConfColl extends Coll public void init() { super.init(); - - this.get(MCore.INSTANCE); + this.get(MCore.INSTANCE, true); } }