Skip to content

Commit beda3e2

Browse files
committed
Fix redundant 'getBlockReason'
1 parent 7918aaa commit beda3e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/simplexity/simplepms/commands/Unblock.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ private static CompletableFuture<Suggestions> suggestBlockedUsers(final CommandC
6969
builder.suggest(block.getBlockedPlayerName());
7070
} else {
7171
builder.suggest(block.getBlockedPlayerName(),
72-
MessageComponentSerializer.message().serialize(Component.text(block.getBlockReason())));
72+
MessageComponentSerializer.message().serialize(Component.text(blockReason)));
7373
}
7474
}
7575
return builder.buildFuture();

0 commit comments

Comments
 (0)