Skip to content

Commit

Permalink
Merge pull request #5 from Cylop/fix/ban-command-prevent-self-ban
Browse files Browse the repository at this point in the history
fix: fixed that user still can ban himself
  • Loading branch information
Cylop committed Dec 22, 2021
2 parents 3053f2b + 567b91f commit 4e6fd10
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ public boolean onCommand(@Nonnull CommandSender sender, @Nonnull Command command
this.resourceBundle,
ContextProperties.of(buildPlayerContext(sender)),
LocalKeys.ERRORS_BAN_SELF_BAN));
return true;
}

var duration = "999y";
Expand Down

0 comments on commit 4e6fd10

Please sign in to comment.