1
0
Fork 0

more ui improvements

This commit is contained in:
Sen 2025-06-12 20:11:59 +02:00
parent 48918f0139
commit 836094a00b
Signed by: sen
GPG key ID: 3AC50A6F47D1B722
6 changed files with 35 additions and 42 deletions

View file

@ -2351,7 +2351,7 @@ public class Client implements IThreadListener {
public void disconnected(String msg) {
Log.NETWORK.info("Getrennt: %s", msg);
this.unload(true);
this.displayGuiScreen(new GuiInfo("Von Server getrennt", TextColor.RED + "Verbindung zum Server wurde getrennt\n\n" + TextColor.RESET + msg, true));
this.displayGuiScreen(new GuiInfo("Von Server getrennt", TextColor.RED + "Verbindung zum Server wurde getrennt\n\n" + TextColor.RESET + msg));
}
@ -2560,7 +2560,7 @@ public class Client implements IThreadListener {
public String apply(DebugFunction func) {
return TextColor.CYAN + bind + TextColor.RED + "+" + TextColor.GREEN + func.key.getDisplay() + TextColor.GRAY + " - " + TextColor.YELLOW + func.help;
}
}, Client.this.debug.values()), true));
}, Client.this.debug.values())));
}
});
this.registerDebug(Keysym.N, "NoClip umschalten", new DebugRunner() {