This event appeared to be unnecessary and was jacking up SSP

This commit is contained in:
CannibalVox 2015-03-10 13:44:00 -05:00
parent 8d282cb021
commit 0c70b0760b

View file

@ -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)
{