Attempt to fix another race condition related to reading NetClientHandler.
This commit is contained in:
parent
e69004b50e
commit
18aed8bf1b
1 changed files with 1 additions and 0 deletions
|
@ -834,6 +834,7 @@ public class FMLClientHandler implements IFMLSidedHandler
|
|||
@Override
|
||||
public void fireNetRegistrationEvent(EventBus bus, NetworkManager manager, Set<String> channelSet, String channel, Side side)
|
||||
{
|
||||
waitForPlayClient();
|
||||
if (side == Side.CLIENT)
|
||||
{
|
||||
bus.post(new FMLNetworkEvent.CustomPacketRegistrationEvent<NetHandlerPlayClient>(manager, channelSet, channel, side, NetHandlerPlayClient.class));
|
||||
|
|
Loading…
Reference in a new issue