synchronized?
IDK maybe it will fix the stream closed exception if not then maybe i will make a write queue
This commit is contained in:
parent
5324d3ef29
commit
77822c85e8
2 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ public class BossbarManagerPlugin extends Bot.Listener {
|
||||||
public final Map<UUID, BossBar> serverBossBars = new HashMap<>();
|
public final Map<UUID, BossBar> serverBossBars = new HashMap<>();
|
||||||
private final Map<UUID, BotBossBar> bossBars = new HashMap<>();
|
private final Map<UUID, BotBossBar> bossBars = new HashMap<>();
|
||||||
|
|
||||||
public final boolean enabled = true;
|
public boolean enabled = true;
|
||||||
|
|
||||||
public final String bossBarPrefix = "chomens_bot:";
|
public final String bossBarPrefix = "chomens_bot:";
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ public class CommandHandlerPlugin {
|
||||||
|
|
||||||
public final List<Command> commands = new ArrayList<>();
|
public final List<Command> commands = new ArrayList<>();
|
||||||
|
|
||||||
public final boolean disabled = false;
|
public boolean disabled = false;
|
||||||
|
|
||||||
public CommandHandlerPlugin (Bot bot) {
|
public CommandHandlerPlugin (Bot bot) {
|
||||||
this.bot = bot;
|
this.bot = bot;
|
||||||
|
|
Loading…
Reference in a new issue