MCore Change

This commit is contained in:
Olof Larsson 2013-04-16 09:28:07 +02:00
parent 958155e43c
commit 03c058483c
4 changed files with 3 additions and 4 deletions

View File

@ -25,7 +25,7 @@ public class BoardColl extends Coll<Board> implements BoardInterface
public static BoardColl get() { return i; }
private BoardColl()
{
super(MStore.getDb(ConfServer.dburi), Factions.get(), "uuid", Const.COLLECTION_BASENAME_BOARD, Board.class, true);
super(Const.COLLECTION_BASENAME_BOARD, Board.class, MStore.getDb(ConfServer.dburi), Factions.get(), true, true);
}
// -------------------------------------------- //

View File

@ -20,7 +20,7 @@ public class FPlayerColl extends SenderColl<FPlayer>
public static FPlayerColl get() { return i; }
private FPlayerColl()
{
super(MStore.getDb(ConfServer.dburi), Factions.get(), Const.COLLECTION_BASENAME_PLAYER, FPlayer.class, true, true);
super(Const.COLLECTION_BASENAME_PLAYER, FPlayer.class, MStore.getDb(ConfServer.dburi), Factions.get());
}
// -------------------------------------------- //

View File

@ -26,7 +26,7 @@ public class FactionColl extends Coll<Faction>
public static FactionColl get() { return i; }
private FactionColl()
{
super(MStore.getDb(ConfServer.dburi), Factions.get(), "uuid", Const.COLLECTION_BASENAME_FACTION, Faction.class, false);
super(Const.COLLECTION_BASENAME_FACTION, Faction.class, MStore.getDb(ConfServer.dburi), Factions.get());
}
// -------------------------------------------- //

View File

@ -46,7 +46,6 @@ public class ARFaction extends ArgReaderAbstract<Faction>
result.setErrors(Txt.parse("<b>No faction or player matching \"<p>%s<b>\".", str));
return result;
}
}