Skip to content

Commit

Permalink
Remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
CitralFlo committed Jan 22, 2025
1 parent 2437624 commit aa1ff47
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
import java.util.concurrent.CompletableFuture;
import org.bukkit.entity.Player;

// To clarify:
// ON - true - means that the player has turned on msgToggle and has blocked getting private messages
// OFF - false - means that the player has turned off msgToggle and has allowed getting private messages
@Command(name = "msgtoggle")
@Permission("eternalcore.msgtoggle")
public class MsgToggleCommand {
Expand All @@ -38,7 +35,7 @@ public void execute(@Context Player context) {
CompletableFuture<Boolean> hasMsgToggledOff = this.msgToggleService.hasMsgToggled(context.getUniqueId());

hasMsgToggledOff.thenAccept(toggledOff -> {
if (!toggledOff) {
if (toggledOff) {
this.toggleOff(context);
} else {
this.toggleOn(context);
Expand Down

0 comments on commit aa1ff47

Please sign in to comment.