Update TraceDialog.java (#8992)

This commit is contained in:
Darkness 2023-09-01 00:23:23 +03:00 committed by GitHub
parent 6a53a0e7be
commit 579d63ac23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,8 +28,6 @@ public class TraceDialog extends BaseDialog{
var style = Styles.emptyi;
float s = 28f;
var language = LanguageDialog.displayNames.get(player.locale, player.locale);
table.table(c -> {
c.left().defaults().left();
c.button(Icon.copySmall, style, () -> copy(player.name)).size(s).padRight(4f);
@ -38,8 +36,8 @@ public class TraceDialog extends BaseDialog{
c.add(Core.bundle.format("trace.ip", info.ip)).row();
c.button(Icon.copySmall, style, () -> copy(info.uuid)).size(s).padRight(4f);
c.add(Core.bundle.format("trace.id", info.uuid)).row();
c.button(Icon.copySmall, style, () -> copy(language)).size(s).padRight(4f);
c.add(Core.bundle.format("trace.language", language)).row();
c.button(Icon.copySmall, style, () -> copy(player.locale)).size(s).padRight(4f);
c.add(Core.bundle.format("trace.language", player.locale)).row();
}).row();
table.add(Core.bundle.format("trace.modclient", info.modded)).row();