3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-12-26 00:00:41 +01:00

SettingsUtils: fix 'show coordinates' setting persistence (#1429)

The boolean that toggled this was accidentally in the wrong spot.
Dieser Commit ist enthalten in:
Camotoy 2020-10-18 23:29:11 -04:00 committet von GitHub
Ursprung 0635605a24
Commit 45429a9357
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -58,7 +58,7 @@ public class SettingsUtils {
builder.setIcon(new FormImage(FormImage.FormImageType.PATH, "textures/ui/settings_glyph_color_2x.png"));
builder.addComponent(new LabelComponent(LanguageUtils.getPlayerLocaleString("geyser.settings.title.client", language)));
builder.addComponent(new ToggleComponent(LanguageUtils.getPlayerLocaleString("geyser.settings.option.coordinates", language, session.getWorldCache().isShowCoordinates())));
builder.addComponent(new ToggleComponent(LanguageUtils.getPlayerLocaleString("geyser.settings.option.coordinates", language), session.getWorldCache().isShowCoordinates()));
if (session.getOpPermissionLevel() >= 2 || session.hasPermission("geyser.settings.server")) {