MCore Change
This commit is contained in:
parent
958155e43c
commit
03c058483c
@ -25,7 +25,7 @@ public class BoardColl extends Coll<Board> implements BoardInterface
|
|||||||
public static BoardColl get() { return i; }
|
public static BoardColl get() { return i; }
|
||||||
private BoardColl()
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
// -------------------------------------------- //
|
// -------------------------------------------- //
|
||||||
|
@ -20,7 +20,7 @@ public class FPlayerColl extends SenderColl<FPlayer>
|
|||||||
public static FPlayerColl get() { return i; }
|
public static FPlayerColl get() { return i; }
|
||||||
private FPlayerColl()
|
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());
|
||||||
}
|
}
|
||||||
|
|
||||||
// -------------------------------------------- //
|
// -------------------------------------------- //
|
||||||
|
@ -26,7 +26,7 @@ public class FactionColl extends Coll<Faction>
|
|||||||
public static FactionColl get() { return i; }
|
public static FactionColl get() { return i; }
|
||||||
private FactionColl()
|
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());
|
||||||
}
|
}
|
||||||
|
|
||||||
// -------------------------------------------- //
|
// -------------------------------------------- //
|
||||||
|
@ -46,7 +46,6 @@ public class ARFaction extends ArgReaderAbstract<Faction>
|
|||||||
|
|
||||||
result.setErrors(Txt.parse("<b>No faction or player matching \"<p>%s<b>\".", str));
|
result.setErrors(Txt.parse("<b>No faction or player matching \"<p>%s<b>\".", str));
|
||||||
return result;
|
return result;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user