From 8a50aa931b125e4237b8d976072f16c579c1d189 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B0=D1=80=D0=BA=D0=BD=D0=B5=D1=81=D1=81=233729?= <79508138+Darkness6030@users.noreply.github.com> Date: Thu, 15 Sep 2022 01:26:15 +0300 Subject: [PATCH] Why it uses name instead of id? (#7562) --- core/src/mindustry/ui/fragments/PlayerListFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/mindustry/ui/fragments/PlayerListFragment.java b/core/src/mindustry/ui/fragments/PlayerListFragment.java index c805057bf3..81ed310b04 100644 --- a/core/src/mindustry/ui/fragments/PlayerListFragment.java +++ b/core/src/mindustry/ui/fragments/PlayerListFragment.java @@ -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); }