forked from ChomeNS/chomens-bot-java
ez fix just check for uuid instead of username
This commit is contained in:
parent
2cd9ceca8c
commit
732be0f24f
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ public class ChatCommandHandlerPlugin extends ChatPlugin.Listener {
|
|||
|
||||
private void listener (PlayerMessage message, boolean cspy) {
|
||||
try {
|
||||
if (message.sender().profile().getName().equals(bot.username())) return;
|
||||
if (message.sender().profile().getId().equals(bot.profile().getId())) return;
|
||||
} catch (Exception ignored) {} // kinda sus ngl
|
||||
|
||||
final Component displayNameComponent = message.displayName();
|
||||
|
|
Loading…
Reference in a new issue