mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-21 04:32:15 +00:00
New Decompiler Runtime Official mappings ItemStacks arnt Capability providers anymore, use Vanilla's system. Co-authored-by: RealMangoRage <[email protected]> Co-authored-by: Paint_Ninja <[email protected]>
11 lines
505 B
Diff
11 lines
505 B
Diff
--- a/net/minecraft/client/gui/screens/ChatScreen.java
|
|
+++ b/net/minecraft/client/gui/screens/ChatScreen.java
|
|
@@ -89,6 +_,7 @@
|
|
return true;
|
|
} else if (p_95591_ == 257 || p_95591_ == 335) {
|
|
this.handleChatInput(this.input.getValue(), true);
|
|
+ if (this.minecraft.screen == this) // FORGE: Prevent closing the screen if another screen has been opened.
|
|
this.minecraft.setScreen(null);
|
|
return true;
|
|
} else if (p_95591_ == 265) {
|