Release 1.7.5 alpha: one last minor fix to EssentialsChat integration needed
This commit is contained in:
parent
0966d3579d
commit
d7a5970b85
@ -31,7 +31,7 @@ public class EssentialsOldVersionFeatures
|
|||||||
}
|
}
|
||||||
public String modifyMessage(PlayerChatEvent event, Player target, String message)
|
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()));
|
//return message.replace(Conf.chatTagReplaceString, P.p.getPlayerFactionTagRelation(event.getPlayer(), target)).replace("[FACTION_TITLE]", P.p.getPlayerTitle(event.getPlayer()));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user