mirror of
https://github.com/darksaid98/TownyChat.git
synced 2026-12-04 06:28:57 +00:00
fix default channels to always modify the format
This commit is contained in:
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()));
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user