forked from ChomeNS/chomens-bot-java
replace all u00a7 with ""
This commit is contained in:
parent
7c4274f7ed
commit
6042cdd254
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue