diff --git a/fabric-registry-sync-v0/src/testmod/java/net/fabricmc/fabric/test/registry/sync/RegistrySyncTest.java b/fabric-registry-sync-v0/src/testmod/java/net/fabricmc/fabric/test/registry/sync/RegistrySyncTest.java index cc583fe89f..054e49d392 100644 --- a/fabric-registry-sync-v0/src/testmod/java/net/fabricmc/fabric/test/registry/sync/RegistrySyncTest.java +++ b/fabric-registry-sync-v0/src/testmod/java/net/fabricmc/fabric/test/registry/sync/RegistrySyncTest.java @@ -147,7 +147,7 @@ public static void checkSyncedRegistry(RegistryKey> regist return; } - if (registry == Registries.RECIPE_SERIALIZER) { + if (registry.getValue().equals(Identifier.of("recipe_serializer"))) { // Recipe serializers are not synced, as there is an unused codec left over. return; }