From 48ff8b895a903b78ea89092dfe318eac9bebaf8b Mon Sep 17 00:00:00 2001 From: Christian Date: Mon, 20 Jan 2014 07:46:17 -0500 Subject: [PATCH] Allow connection when server is apparently offline. Might allow :NOFML circumvention though. Hmmm. Closes #359 --- fml/src/main/java/cpw/mods/fml/client/FMLClientHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fml/src/main/java/cpw/mods/fml/client/FMLClientHandler.java b/fml/src/main/java/cpw/mods/fml/client/FMLClientHandler.java index 47ecc6ce65..430aee8d1c 100644 --- a/fml/src/main/java/cpw/mods/fml/client/FMLClientHandler.java +++ b/fml/src/main/java/cpw/mods/fml/client/FMLClientHandler.java @@ -740,7 +740,7 @@ public class FMLClientHandler implements IFMLSidedHandler public void connectToServer(GuiScreen guiMultiplayer, ServerData serverEntry) { ExtendedServerListData extendedData = serverDataTag.get(serverEntry); - if (extendedData.isBlocked) + if (extendedData != null && extendedData.isBlocked) { showGuiScreen(new GuiAccessDenied(guiMultiplayer, serverEntry)); }