From 0c70b0760b8dd8e557aba36816314ad61cf3d93b Mon Sep 17 00:00:00 2001 From: CannibalVox Date: Tue, 10 Mar 2015 13:44:00 -0500 Subject: [PATCH] This event appeared to be unnecessary and was jacking up SSP --- .../mod_pocketDim/ConnectionHandler.java | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/src/main/java/StevenDimDoors/mod_pocketDim/ConnectionHandler.java b/src/main/java/StevenDimDoors/mod_pocketDim/ConnectionHandler.java index de0eb0d9..77fd7e63 100644 --- a/src/main/java/StevenDimDoors/mod_pocketDim/ConnectionHandler.java +++ b/src/main/java/StevenDimDoors/mod_pocketDim/ConnectionHandler.java @@ -14,26 +14,6 @@ import net.minecraftforge.common.network.ForgeMessage; public class ConnectionHandler { - @SubscribeEvent - public String connectionReceived(FMLNetworkEvent.ServerConnectionFromClientEvent event) - { - for(NewDimData data : PocketManager.getDimensions()) - { - try - { - if(data.isPocketDimension()||data.id()==mod_pocketDim.properties.LimboDimensionID) - { - event.manager.channel().writeAndFlush(new ForgeMessage.DimensionRegisterMessage(data.id(), DimensionManager.getProviderType(data.id()))); - } - } - catch(Exception E) - { - E.printStackTrace(); - } - } - return null; - } - @SubscribeEvent public void connectionClosed(FMLNetworkEvent.ClientDisconnectionFromServerEvent event) {