mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 00:37:52 +00:00
Attempt to fix another race condition related to reading NetClientHandler.
This commit is contained in:
1 parent
e69004b50e
commit
18aed8bf1b
1 file changed
+1
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user