diff --git a/fabric-registry-sync-v0/build.gradle b/fabric-registry-sync-v0/build.gradle index 955afa8ed..1b01b6e35 100644 --- a/fabric-registry-sync-v0/build.gradle +++ b/fabric-registry-sync-v0/build.gradle @@ -1,5 +1,5 @@ archivesBaseName = "fabric-registry-sync-v0" -version = getSubprojectVersion(project, "0.8.0") +version = getSubprojectVersion(project, "0.8.1") moduleDependencies(project, [ 'fabric-api-base', diff --git a/fabric-registry-sync-v0/src/main/java/net/fabricmc/fabric/impl/registry/sync/FabricRegistryInit.java b/fabric-registry-sync-v0/src/main/java/net/fabricmc/fabric/impl/registry/sync/FabricRegistryInit.java index 4246276e0..967f611a4 100644 --- a/fabric-registry-sync-v0/src/main/java/net/fabricmc/fabric/impl/registry/sync/FabricRegistryInit.java +++ b/fabric-registry-sync-v0/src/main/java/net/fabricmc/fabric/impl/registry/sync/FabricRegistryInit.java @@ -166,5 +166,9 @@ public class FabricRegistryInit implements ModInitializer { // Doesnt seem to be serialised or synced. RegistryAttributeHolder.get(Registry.LOOT_CONDITION_TYPE); + + // Synced in TagManager::toPacket/fromPacket -> TagGroup::serialize/deserialize + RegistryAttributeHolder.get(Registry.GAME_EVENT) + .addAttribute(RegistryAttribute.SYNCED); } }