mirror of
https://github.com/barkeser2002/Tenet.git
synced 2026-09-25 06:00:13 +03:00
19 lines
730 B
Diff
19 lines
730 B
Diff
--- a/com/mojang/realmsclient/gui/screens/RealmsGenericErrorScreen.java
|
|
+++ b/com/mojang/realmsclient/gui/screens/RealmsGenericErrorScreen.java
|
|
@@ -71,6 +_,15 @@
|
|
}
|
|
|
|
@Override
|
|
+ public boolean keyPressed(int key, int scanCode, int modifiers) {
|
|
+ if (key == org.lwjgl.glfw.GLFW.GLFW_KEY_ESCAPE) {
|
|
+ minecraft.setScreen(this.nextScreen);
|
|
+ return true;
|
|
+ }
|
|
+ return super.keyPressed(key, scanCode, modifiers);
|
|
+ }
|
|
+
|
|
+ @Override
|
|
public void render(GuiGraphics p_283497_, int p_88680_, int p_88681_, float p_88682_) {
|
|
super.render(p_283497_, p_88680_, p_88681_, p_88682_);
|
|
p_283497_.drawCenteredString(this.font, this.lines.title, this.width / 2, 80, -1);
|