Fine use FMLCommonHandler.
This commit is contained in:
parent
3cb3988491
commit
e33224054b
1 changed files with 1 additions and 2 deletions
|
@ -29,7 +29,6 @@ import net.minecraft.network.play.server.S3FPacketCustomPayload;
|
|||
import net.minecraft.network.play.server.S40PacketDisconnect;
|
||||
import net.minecraft.server.management.ServerConfigurationManager;
|
||||
import net.minecraft.util.ChatComponentText;
|
||||
import cpw.mods.fml.client.FMLClientHandler;
|
||||
import cpw.mods.fml.common.FMLCommonHandler;
|
||||
import cpw.mods.fml.common.FMLLog;
|
||||
import cpw.mods.fml.common.network.FMLIndexedMessageToMessageCodec;
|
||||
|
@ -449,7 +448,7 @@ public class NetworkDispatcher extends SimpleChannelInboundHandler<Packet> imple
|
|||
|
||||
public void abortClientHandshake(String type)
|
||||
{
|
||||
FMLClientHandler.instance().waitForPlayClient();
|
||||
FMLCommonHandler.instance().waitForPlayClient();
|
||||
completeClientSideConnection(ConnectionType.valueOf(type));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue