2013-04-18 14:57:56 +02:00
|
|
|
package com.massivecraft.factions.chat.modifier;
|
|
|
|
|
|
|
|
import com.massivecraft.factions.chat.ChatModifierAbstract;
|
2013-04-22 17:59:51 +02:00
|
|
|
import com.massivecraft.factions.entity.UPlayer;
|
2013-04-18 14:57:56 +02:00
|
|
|
import com.massivecraft.mcore.util.Txt;
|
|
|
|
|
|
|
|
public class ChatModifierUcf extends ChatModifierAbstract
|
|
|
|
{
|
|
|
|
// -------------------------------------------- //
|
|
|
|
// INSTANCE & CONSTRUCT
|
|
|
|
// -------------------------------------------- //
|
|
|
|
|
|
|
|
private ChatModifierUcf() { super("ucf"); }
|
|
|
|
private static ChatModifierUcf i = new ChatModifierUcf();
|
|
|
|
public static ChatModifierUcf get() { return i; }
|
|
|
|
|
|
|
|
// -------------------------------------------- //
|
|
|
|
// OVERRIDE
|
|
|
|
// -------------------------------------------- //
|
|
|
|
|
|
|
|
@Override
|
2013-04-22 17:59:51 +02:00
|
|
|
public String getModified(String subject, UPlayer fsender, UPlayer frecipient)
|
2013-04-18 14:57:56 +02:00
|
|
|
{
|
|
|
|
return Txt.upperCaseFirst(subject);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|