This constant could be useful to other plugins.

This commit is contained in:
Olof Larsson committed 2013-12-03 17:16:41 +01:00
1 parent 20659b6086
commit 05aaa8140d
2 files changed
+7 -1

No files matched your search

@@ -23,7 +23,7 @@ public class ExtractorFactionAccountId implements Extractor
{
String factionId = ((Faction)o).getId();
if (factionId == null) return null;
return "faction-"+factionId;
return Factions.FACTION_MONEY_ACCOUNT_ID_PREFIX + factionId;
}
return null;
@@ -52,6 +52,12 @@ import com.massivecraft.mcore.xlib.gson.GsonBuilder;
public class Factions extends MPlugin
{
// -------------------------------------------- //
// CONSTANTS
// -------------------------------------------- //
public final static String FACTION_MONEY_ACCOUNT_ID_PREFIX = "faction-";
// -------------------------------------------- //
// INSTANCE & CONSTRUCT
// -------------------------------------------- //