mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-18 03:25:18 +00:00
Fix too many registries being sent from server to client
Signed-off-by: cpw <[email protected]>
This commit is contained in:
2 files changed
+5
-3
No files matched your search
@@ -62,7 +62,7 @@ public class FMLHandshakeMessages
|
||||
{
|
||||
this.mods = ModList.get().getMods().stream().map(ModInfo::getModId).collect(Collectors.toList());
|
||||
this.channels = NetworkRegistry.buildChannelVersions();
|
||||
this.registries = RegistryManager.registryNames();
|
||||
this.registries = RegistryManager.getRegistryNamesForSyncToClient();
|
||||
}
|
||||
|
||||
private S2CModList(List<String> mods, Map<ResourceLocation, String> channels, List<ResourceLocation> registries)
|
||||
|
||||
Reference in new issue
Block a user