fix default channels to always modify the format

This commit is contained in:
ElgarL committed 2012-01-15 00:32:30 +00:00
1 parent c95c0bee59
commit 05ede998d2
1 file changed
-1
@@ -246,7 +246,6 @@ public class TownyPlayerHighestListener extends PlayerListener {
Resident resident = TownyUniverse.getDataSource().getResident(player.getName()); Resident resident = TownyUniverse.getDataSource().getResident(player.getName());
Boolean bEssentials = plugin.getTowny().isEssentials(); Boolean bEssentials = plugin.getTowny().isEssentials();
if (TownySettings.isUsingModifyChat())
event.setFormat(TownyUniverse.getDataSource().getWorld(player.getWorld().getName()) event.setFormat(TownyUniverse.getDataSource().getWorld(player.getWorld().getName())
.getChatDefaultChannelFormat().replace("{channelTag}", chan.getChannelTag()).replace("{msgcolour}", chan.getMessageColour())); .getChatDefaultChannelFormat().replace("{channelTag}", chan.getChannelTag()).replace("{msgcolour}", chan.getMessageColour()));