Implement FormatType as a config setting (#103)

* Implement FormatType as a config setting

* Remove TODO.
This commit is contained in:
Glare authored and GitHub committed 2020-10-17 13:17:49 -07:00
1 parent 8e91232345
commit 4a36172cdb
2 files changed
+9 -1

No files matched your search

@@ -127,7 +127,7 @@ public final class CarbonChatBukkit extends JavaPlugin implements CarbonChat {
// Setup Adventure
final BukkitAudiences audiences = BukkitAudiences.create(this);
this.messageProcessor = new AdventureManager(audiences, FormatType.MINIMESSAGE); // TODO: get format type from config
this.messageProcessor = new AdventureManager(audiences, this.carbonSettings.getFormatType());
// Initialize managers
this.channelManager = new ChannelManager(this);