Fixing Compatibility Crashes with RandomPatches
When running Connectivity Mod alongside the RandomPatches mod, the two can conflict over connection keep-alive handlers, resulting in game crashes during startup or gameplay. You can prevent this crash by adjusting the configuration.
Locate the Configuration File
Before making changes, ensure your game or server is completely shut down.
1. Navigate to your Minecraft instance or server installation directory.
2. Open the config folder.
3. Find and open the file named randompatches.toml using a plain text editor.
Add the KeepAlive Blacklist
Within randompatches.toml, you must exclude the conflicting network handler so Connectivity Mod can manage connection timing and prevent login timeouts cleanly.
1. Look for the mixin blacklist section, or find an empty line in the configuration file.
2. Add the following entry:
mixin_blacklist = ["ServerPlayNetHandlerKeepAlive"]
3. Save the changes to randompatches.toml and close the text editor.
4. Start your server or launch your client.
With this mixin excluded from RandomPatches, both mods will function together properly without crashing when handling server keep-alive packets.