Why it uses name instead of id? (#7562)

This commit is contained in:
Даркнесс#3729
2022-09-15 01:26:15 +03:00
committed by GitHub
parent 918eb1bafe
commit 8a50aa931b

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.name())))
() -> Call.sendChatMessage("/votekick #" + user.id)))
.size(h);
}