From 8620cf709dc7ff8e6a74a54957d64523f41d8384 Mon Sep 17 00:00:00 2001 From: Jakub Gniecki Date: Sun, 13 Oct 2024 23:52:39 +0200 Subject: [PATCH] added BE color --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9fff8e7..a6eabd8 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ To parse a text-based MOTD using custom formatting and colors: ```php $formatCollection = \DevLancer\MinecraftMotdParser\Collection\FormatCollection::generate(); -$colorCollection = \DevLancer\MinecraftMotdParser\Collection\ColorCollection::generate(); +$colorCollection = \DevLancer\MinecraftMotdParser\Collection\ColorCollection::generate(true); //When set to true, colors from BE are added $parser = new \DevLancer\MinecraftMotdParser\Parser\TextParser($formatCollection, $colorCollection, '&'); $motd = "A &l&fMine&4craft &rServer";