Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Brikster committed Dec 22, 2023
1 parent 6734cfa commit a98115e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public void handleCommand(@NotNull CommandContext<@NotNull CommandSender> comman
pmMessageService.addConversation(sender.getName(),
target instanceof ConsoleCommandSender ? "Console" : target.getName());

boolean ignored = sender instanceof Player && target.isConsole()
boolean ignored = sender instanceof Player && !target.isConsole()
&& playerDataRepository.isIgnoredPlayer(target.getUuid(), ((Player) sender).getUniqueId());

Component spyComponentFormat = null;
Expand Down

0 comments on commit a98115e

Please sign in to comment.