9
0
mirror of https://github.com/Auxilor/EcoMobs.git synced 2025-12-23 00:49:36 +00:00

Fixed the fix

This commit is contained in:
Auxilor
2021-10-01 19:05:08 +01:00
parent 9cecb33b04
commit 9dbba3f751

View File

@@ -340,7 +340,7 @@ public class EcoBoss extends PluginDependent<EcoPlugin> {
this.bossbarEnabled = this.getConfig().getBool("bossbar.enabled"); this.bossbarEnabled = this.getConfig().getBool("bossbar.enabled");
String barStyle = this.getConfig().getString("bossbar.style").toUpperCase(); String barStyle = this.getConfig().getString("bossbar.style").toUpperCase();
if (barStyle.equalsIgnoreCase("solid")) { if (barStyle.equalsIgnoreCase("solid")) {
barStyle = "OVERLAY"; barStyle = "PROGRESS";
} }
this.bossbarProperties = new BossbarProperties( this.bossbarProperties = new BossbarProperties(
BossBar.Color.valueOf(this.getConfig().getString("bossbar.color").toUpperCase()), BossBar.Color.valueOf(this.getConfig().getString("bossbar.color").toUpperCase()),