CloudNetService / CloudNet

A modern application that can dynamically and easily deliver Minecraft oriented software
https://cloudnetservice.eu
Apache License 2.0
376 stars 119 forks source link

fix: make the player kick command reason quoted to allow flags #1374

Closed 0utplay closed 6 months ago

0utplay commented 6 months ago

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.

github-actions[bot] commented 6 months ago

Test Results

 47 files  ±0   47 suites  ±0   1m 32s :stopwatch: +10s 395 tests ±0  395 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0  726 runs  ±0  726 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0 

Results for commit 618dc413. ± Comparison against base commit 61b081e3.