Quickfixed everything easy.

This commit is contained in:
Olof Larsson committed 2013-04-22 13:03:21 +02:00
1 parent 9fc75b1fcf
commit 61e8730495
52 files changed
+134 -132

No files matched your search

@@ -10,6 +10,7 @@ import com.dthielke.herochat.ChannelChatEvent;
import com.dthielke.herochat.Herochat;
import com.massivecraft.factions.Factions;
import com.massivecraft.factions.chat.ChatFormatter;
import com.massivecraft.factions.entity.FPlayer;
import com.massivecraft.factions.entity.MConf;
@@ -52,7 +53,8 @@ public class HerochatEngine implements Listener
String format = event.getFormat();
format = format.replaceAll("&r", "§r");
format = ChatFormatter.format(format, event.getSender().getName(), null, null);
format = ChatFormatter.format(format, FPlayer.get(event.getSender().getPlayer()), null);
event.setFormat(format);
}