mirror of
https://github.com/FabricMC/fabric.git
synced 2024-11-25 00:58:17 -05:00
Fix a regresstion preveting clients with an un-modded regsitry joining servers with modded registries. (#3036)
This commit is contained in:
parent
76ba65ebd7
commit
9496b969b5
1 changed files with 7 additions and 0 deletions
|
@ -347,6 +347,13 @@ public final class RegistrySyncManager {
|
|||
continue;
|
||||
}
|
||||
|
||||
final RegistryAttributeHolder attributeHolder = RegistryAttributeHolder.get(registry.getKey());
|
||||
|
||||
if (!attributeHolder.hasAttribute(RegistryAttribute.MODDED)) {
|
||||
// Registry is not modded on the client, dont check. A print to debug is logged in apply.
|
||||
continue;
|
||||
}
|
||||
|
||||
for (Identifier remoteId : remoteRegistry.keySet()) {
|
||||
if (!registry.containsId(remoteId)) {
|
||||
// Found a registry entry from the server that is
|
||||
|
|
Loading…
Reference in a new issue