Why it uses name instead of id? (#7562)
This commit is contained in:
@@ -200,7 +200,7 @@ public class PlayerListFragment{
|
|||||||
|
|
||||||
button.button(Icon.hammer, ustyle,
|
button.button(Icon.hammer, ustyle,
|
||||||
() -> ui.showConfirm("@confirm", Core.bundle.format("confirmvotekick", user.name()),
|
() -> ui.showConfirm("@confirm", Core.bundle.format("confirmvotekick", user.name()),
|
||||||
() -> Call.sendChatMessage("/votekick " + user.name())))
|
() -> Call.sendChatMessage("/votekick #" + user.id)))
|
||||||
.size(h);
|
.size(h);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user