Add factionless prefix. Fixes #438.

This commit is contained in:
drtshock 2015-09-08 12:42:05 -05:00
parent c5571ba8ee
commit 47bdb149ab
2 changed files with 2 additions and 1 deletions

View File

@ -325,7 +325,7 @@ public abstract class MemoryFPlayer implements FPlayer {
// Base:
public String getTitle() {
return this.hasFaction() ? title : "";
return this.hasFaction() ? title : TL.NOFACTION_PREFIX.toString();
}
public void setTitle(String title) {

View File

@ -708,6 +708,7 @@ public enum TL {
DEFAULT_PREFIX("default-prefix", "{relationcolor}[{faction}] &r"),
FACTION_LOGIN("faction-login", "&e%1$s &9logged in."),
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
/**