From 30144a87083c5034fa593580db942eef40235b30 Mon Sep 17 00:00:00 2001 From: ChomeNS <95471003+ChomeNS@users.noreply.github.com> Date: Mon, 3 Jul 2023 21:24:53 +0700 Subject: [PATCH] Revert "synchronized?" This reverts commit 77822c85e8ed61a93c7856ca877436120fbcc01c. --- .../chayapak/chomens_bot/plugins/BossbarManagerPlugin.java | 2 +- .../chayapak/chomens_bot/plugins/CommandHandlerPlugin.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/BossbarManagerPlugin.java b/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/BossbarManagerPlugin.java index 85d177c..e62de89 100644 --- a/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/BossbarManagerPlugin.java +++ b/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/BossbarManagerPlugin.java @@ -22,7 +22,7 @@ public class BossbarManagerPlugin extends Bot.Listener { public final Map serverBossBars = new HashMap<>(); private final Map bossBars = new HashMap<>(); - public boolean enabled = true; + public final boolean enabled = true; public final String bossBarPrefix = "chomens_bot:"; diff --git a/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/CommandHandlerPlugin.java b/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/CommandHandlerPlugin.java index 15e3535..1ada15d 100644 --- a/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/CommandHandlerPlugin.java +++ b/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/CommandHandlerPlugin.java @@ -22,7 +22,7 @@ public class CommandHandlerPlugin { public final List commands = new ArrayList<>(); - public boolean disabled = false; + public final boolean disabled = false; public CommandHandlerPlugin (Bot bot) { this.bot = bot;