mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2025-01-20 09:11:26 +01:00
Fixed a bossbar issue
This commit is contained in:
parent
eda1e34db8
commit
4a94dbd269
@ -170,8 +170,10 @@ public class PlayerQuests implements Closable {
|
||||
public void close() {
|
||||
|
||||
// Remove boss bar
|
||||
bossbar.removeAll();
|
||||
Bukkit.removeBossBar(bossbarNamespacedKey);
|
||||
if (bossbar != null) {
|
||||
bossbar.removeAll();
|
||||
Bukkit.removeBossBar(bossbarNamespacedKey);
|
||||
}
|
||||
|
||||
// Close current objective progress
|
||||
closeCurrentQuest();
|
||||
|
Loading…
Reference in New Issue
Block a user