Add factionless prefix. Fixes #438.
This commit is contained in:
parent
c5571ba8ee
commit
47bdb149ab
@ -325,7 +325,7 @@ public abstract class MemoryFPlayer implements FPlayer {
|
|||||||
// Base:
|
// Base:
|
||||||
|
|
||||||
public String getTitle() {
|
public String getTitle() {
|
||||||
return this.hasFaction() ? title : "";
|
return this.hasFaction() ? title : TL.NOFACTION_PREFIX.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setTitle(String title) {
|
public void setTitle(String title) {
|
||||||
|
@ -708,6 +708,7 @@ public enum TL {
|
|||||||
DEFAULT_PREFIX("default-prefix", "{relationcolor}[{faction}] &r"),
|
DEFAULT_PREFIX("default-prefix", "{relationcolor}[{faction}] &r"),
|
||||||
FACTION_LOGIN("faction-login", "&e%1$s &9logged in."),
|
FACTION_LOGIN("faction-login", "&e%1$s &9logged in."),
|
||||||
FACTION_LOGOUT("faction-logout", "&e%1$s &9logged out.."),
|
FACTION_LOGOUT("faction-logout", "&e%1$s &9logged out.."),
|
||||||
|
NOFACTION_PREFIX("nofactions-prefix", "&6[&a4-&6]&r"),
|
||||||
DATE_FORMAT("date-format", "MM/d/yy h:ma"), // 3/31/15 07:49AM
|
DATE_FORMAT("date-format", "MM/d/yy h:ma"), // 3/31/15 07:49AM
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user