This event appeared to be unnecessary and was jacking up SSP
This commit is contained in:
parent
8d282cb021
commit
0c70b0760b
1 changed files with 0 additions and 20 deletions
|
@ -14,26 +14,6 @@ import net.minecraftforge.common.network.ForgeMessage;
|
||||||
|
|
||||||
public class ConnectionHandler
|
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
|
@SubscribeEvent
|
||||||
public void connectionClosed(FMLNetworkEvent.ClientDisconnectionFromServerEvent event)
|
public void connectionClosed(FMLNetworkEvent.ClientDisconnectionFromServerEvent event)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue