replace all u00a7 with ""

This commit is contained in:
Chayapak 2023-08-27 16:26:16 +07:00
parent 7c4274f7ed
commit 6042cdd254

View file

@ -43,7 +43,7 @@ public class AuthPlugin extends PlayersPlugin.Listener {
@Override @Override
public void playerJoined(PlayerEntry target) { 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); bot.executor.schedule(() -> sendVerificationMessage(target, true), 2, TimeUnit.SECONDS);
} }