Release 1.7.5 alpha: one last minor fix to EssentialsChat integration needed

This commit is contained in:
Brettflan 2012-05-16 20:34:38 -05:00
parent 0966d3579d
commit d7a5970b85

View File

@ -31,7 +31,7 @@ public class EssentialsOldVersionFeatures
}
public String modifyMessage(PlayerChatEvent event, Player target, String message)
{
return FactionsChatListener.parseTags(message, event.getPlayer());
return FactionsChatListener.parseTags(message, event.getPlayer(), target);
//return message.replace(Conf.chatTagReplaceString, P.p.getPlayerFactionTagRelation(event.getPlayer(), target)).replace("[FACTION_TITLE]", P.p.getPlayerTitle(event.getPlayer()));
}
});