diff --git a/src/com/massivecraft/factions/ExtractorFactionAccountId.java b/src/com/massivecraft/factions/ExtractorFactionAccountId.java index d6727d67..547962e9 100644 --- a/src/com/massivecraft/factions/ExtractorFactionAccountId.java +++ b/src/com/massivecraft/factions/ExtractorFactionAccountId.java @@ -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; diff --git a/src/com/massivecraft/factions/Factions.java b/src/com/massivecraft/factions/Factions.java index b9aabc45..7941291a 100644 --- a/src/com/massivecraft/factions/Factions.java +++ b/src/com/massivecraft/factions/Factions.java @@ -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 // -------------------------------------------- //