mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-02 14:38:56 +00:00
awa purgebars, awa load/save framework
This commit is contained in:
1 parent
95175f1057
commit
9d2b8612d2
6 files changed
+109
-7
No files matched your search
@@ -447,6 +447,7 @@ public class Siege {
|
||||
}
|
||||
|
||||
public void refreshDisplayBar() {
|
||||
SiegeData.addSiegeBar(bossBarKey);
|
||||
BossBar bossBar = Bukkit.getBossBar(bossBarKey);
|
||||
if(bossBar == null) bossBar = createNewDisplayBar();
|
||||
|
||||
@@ -469,6 +470,7 @@ public class Siege {
|
||||
}
|
||||
|
||||
public void setupDisplayBar() {
|
||||
SiegeData.addSiegeBar(bossBarKey);
|
||||
BossBar bossBar = Bukkit.getBossBar(bossBarKey);
|
||||
if(bossBar == null) bossBar = createNewDisplayBar();
|
||||
|
||||
|
||||
Reference in new issue
Block a user