This commit is contained in:
Chayapak 2023-06-30 22:04:43 +07:00
parent b4238ea016
commit 6b34fd9c8c

View file

@ -194,6 +194,8 @@ public class BossbarManagerPlugin extends Bot.Listener {
}
public void remove (String name) {
if (!enabled || !bot.options().useCore()) return;
final Map<UUID, BotBossBar> mapCopy = new HashMap<>(bossBars);
for (Map.Entry<UUID, BotBossBar> bossBar : mapCopy.entrySet()) {