MORE fix
This commit is contained in:
parent
b4238ea016
commit
6b34fd9c8c
1 changed files with 2 additions and 0 deletions
|
@ -194,6 +194,8 @@ public class BossbarManagerPlugin extends Bot.Listener {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void remove (String name) {
|
public void remove (String name) {
|
||||||
|
if (!enabled || !bot.options().useCore()) return;
|
||||||
|
|
||||||
final Map<UUID, BotBossBar> mapCopy = new HashMap<>(bossBars);
|
final Map<UUID, BotBossBar> mapCopy = new HashMap<>(bossBars);
|
||||||
|
|
||||||
for (Map.Entry<UUID, BotBossBar> bossBar : mapCopy.entrySet()) {
|
for (Map.Entry<UUID, BotBossBar> bossBar : mapCopy.entrySet()) {
|
||||||
|
|
Loading…
Reference in a new issue