refactor: make filter reason greedy since it's the last argument

This commit is contained in:
ChomeNS
2025-01-06 18:51:01 +07:00
parent 793b1538a0
commit ebc7560d2e
2 changed files with 2 additions and 2 deletions

View File

@@ -1 +1 @@
1451
1452

View File

@@ -59,7 +59,7 @@ public class FilterCommand extends Command {
switch (action) {
case "add" -> {
final String player = context.getString(false, true);
final String reason = context.getString(false, false);
final String reason = context.getString(true, false);
if (
FilterPlugin.localList.stream()