27 lines
801 B
Java
27 lines
801 B
Java
package com.massivecraft.factions.chat.modifier;
|
|
|
|
import com.massivecraft.factions.chat.ChatModifierAbstract;
|
|
import com.massivecraft.mcore.util.Txt;
|
|
|
|
public class ChatModifierParse extends ChatModifierAbstract
|
|
{
|
|
// -------------------------------------------- //
|
|
// INSTANCE & CONSTRUCT
|
|
// -------------------------------------------- //
|
|
|
|
private ChatModifierParse() { super("parse"); }
|
|
private static ChatModifierParse i = new ChatModifierParse();
|
|
public static ChatModifierParse get() { return i; }
|
|
|
|
// -------------------------------------------- //
|
|
// OVERRIDE
|
|
// -------------------------------------------- //
|
|
|
|
@Override
|
|
public String getModified(String subject, String senderId, String sendeeId, String recipientId)
|
|
{
|
|
return Txt.parse(subject);
|
|
}
|
|
|
|
}
|