Skip to content

Commit

Permalink
Update src/main/java/com/eternalcode/combat/fight/tagout/TagOutComman…
Browse files Browse the repository at this point in the history
…d.java

Co-authored-by: DMK <81445555+imDMK@users.noreply.github.com>
  • Loading branch information
CitralFlo and imDMK authored Oct 12, 2023
1 parent ea38a0e commit 5ac1d96
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ void untagout(Player sender, @Arg Player target) {
Formatter formatter = new Formatter()
.register("{PLAYER}", target.getName());

if (targetUniqueId != sender.getUniqueId()) {
if (!targetUniqueId.equals(sender.getUniqueId())) {
String adminUnTagOutFormat = formatter.format(this.config.messages.admin.adminUntagOut);
this.announcer.sendMessage(sender, adminUnTagOutFormat);
}
Expand Down

0 comments on commit 5ac1d96

Please sign in to comment.