mirror of
https://github.com/barkeser2002/Tenet.git
synced 2026-09-25 05:19:53 +03:00
19 lines
804 B
Diff
19 lines
804 B
Diff
--- a/com/mojang/realmsclient/gui/screens/RealmsGenericErrorScreen.java
|
|
+++ b/com/mojang/realmsclient/gui/screens/RealmsGenericErrorScreen.java
|
|
@@ -67,6 +_,15 @@
|
|
return (new TextComponent("")).m_7220_(this.f_200947_.getFirst()).m_130946_(": ").m_7220_(this.f_200947_.getSecond());
|
|
}
|
|
|
|
+ @Override
|
|
+ public boolean m_7933_(int key, int scanCode, int modifiers) {
|
|
+ if (key == org.lwjgl.glfw.GLFW.GLFW_KEY_ESCAPE) {
|
|
+ f_96541_.m_91152_(this.f_88665_);
|
|
+ return true;
|
|
+ }
|
|
+ return super.m_7933_(key, scanCode, modifiers);
|
|
+ }
|
|
+
|
|
public void m_6305_(PoseStack p_88679_, int p_88680_, int p_88681_, float p_88682_) {
|
|
this.m_7333_(p_88679_);
|
|
m_93215_(p_88679_, this.f_96547_, this.f_200947_.getFirst(), this.f_96543_ / 2, 80, 16777215);
|