From 6042cdd25419ca3d9885e8d378934c405ab08668 Mon Sep 17 00:00:00 2001 From: ChomeNS <95471003+ChomeNS@users.noreply.github.com> Date: Sun, 27 Aug 2023 16:26:16 +0700 Subject: [PATCH] replace all u00a7 with "" --- .../land/chipmunk/chayapak/chomens_bot/plugins/AuthPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/AuthPlugin.java b/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/AuthPlugin.java index 310f57a..59d681e 100644 --- a/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/AuthPlugin.java +++ b/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/AuthPlugin.java @@ -43,7 +43,7 @@ public class AuthPlugin extends PlayersPlugin.Listener { @Override public void playerJoined(PlayerEntry target) { - if (!target.profile.getName().equals(bot.config.ownerName) || !bot.options.useCore) return; + if (!target.profile.getName().equals(bot.config.ownerName.replaceAll("ยง", "")) || !bot.options.useCore) return; bot.executor.schedule(() -> sendVerificationMessage(target, true), 2, TimeUnit.SECONDS); }