mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-26 06:53:20 +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]>
12 lines
676 B
Diff
12 lines
676 B
Diff
--- a/net/minecraft/client/gui/screens/ConnectScreen.java
|
|
+++ b/net/minecraft/client/gui/screens/ConnectScreen.java
|
|
@@ -102,6 +_,8 @@
|
|
}
|
|
|
|
if (optional.isEmpty()) {
|
|
+ ConnectScreen.LOGGER.error("Couldn't connect to server: Unknown host \"{}\"", p_249536_.getHost());
|
|
+ net.minecraftforge.network.DualStackUtils.logInitialPreferences();
|
|
p_251955_.execute(
|
|
() -> p_251955_.setScreen(new DisconnectedScreen(ConnectScreen.this.parent, ConnectScreen.this.connectFailedTitle, ConnectScreen.UNKNOWN_HOST_MESSAGE))
|
|
);
|