This constant could be useful to other plugins.
This commit is contained in:
parent
20659b6086
commit
05aaa8140d
@ -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
|
||||
// -------------------------------------------- //
|
||||
|
Loading…
Reference in New Issue
Block a user