Commit 7f8f63e
authored
fix: make the player kick command reason quoted to allow flags (#1374)
### Motivation
Cloud does not parse flags provided after a greedy string argument. This
results in the --force flag of the players kick command being useless.
### Modification
The reason for the kick is now provided as quoted string and the flag is
parsed correctly.
### Result
The force kick flag is usable.1 parent 61b081e commit 7f8f63e
1 file changed
Lines changed: 2 additions & 1 deletion
File tree
- modules/bridge/src/main/java/eu/cloudnetservice/modules/bridge/node/command
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
217 | 218 | | |
218 | 219 | | |
219 | 220 | | |
220 | | - | |
| 221 | + | |
221 | 222 | | |
222 | 223 | | |
223 | 224 | | |
| |||
0 commit comments