to set the color without needing the use of the class BossBarColor cause some people might get confused and think that this plugin doesn’t support boss bar colors. I tested it on my server and came back positive with no errors!
This library was outdated so I updated the fork before submitting a request so the changes mentioning colors is the one I modified. Thank you 😊
So users can now import the class
use xenialdan\apibossbar\BarColor;
and use the method
$bar->setColor(BarColor::BLUE); Blue for example.
to set the color without needing the use of the class BossBarColor cause some people might get confused and think that this plugin doesn’t support boss bar colors. I tested it on my server and came back positive with no errors!
This library was outdated so I updated the fork before submitting a request so the changes mentioning colors is the one I modified. Thank you 😊