Improvement on votekick (#8664)

* Add test case for achievement

* Allow admins to cancel votekick & allow players to change vote

* Require reason to start votekick

* Require reason to start votekick

* Update message sent by votekick button
This commit is contained in:
frieda666
2023-06-03 20:45:55 -07:00
committed by GitHub
parent fc673de556
commit 70bb7aff54
2 changed files with 27 additions and 13 deletions

View File

@@ -200,7 +200,7 @@ public class PlayerListFragment{
button.button(Icon.hammer, ustyle,
() -> ui.showConfirm("@confirm", Core.bundle.format("confirmvotekick", user.name()),
() -> Call.sendChatMessage("/votekick #" + user.id)))
() -> Call.sendChatMessage("/votekick #" + user.id + " No reason is provided")))
.size(h);
}