diff --git a/gradle.properties b/gradle.properties index 17289d6..adec0bc 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,7 +6,7 @@ org.gradle.daemon=true # Versions versionConnector=1.0.0-beta.44 versionAdapter=1.11.55-1.20.1-20240428.153904 -versionAdapterDefinition=1.11.56 +versionAdapterDefinition=1.11.57 versionMc=1.20.1 versionForge=47.1.3 diff --git a/src/main/java/org/sinytra/connector/transformer/MixinPatchTransformer.java b/src/main/java/org/sinytra/connector/transformer/MixinPatchTransformer.java index 7c1ad99..56d891a 100644 --- a/src/main/java/org/sinytra/connector/transformer/MixinPatchTransformer.java +++ b/src/main/java/org/sinytra/connector/transformer/MixinPatchTransformer.java @@ -7,6 +7,7 @@ import com.google.gson.JsonObject; import com.google.gson.JsonParser; import com.mojang.logging.LogUtils; +import org.sinytra.adapter.patch.transformer.dynamic.DynamicSyntheticInstanceofPatch; import org.sinytra.connector.ConnectorUtil; import org.sinytra.connector.transformer.patch.EnvironmentStripperTransformer; import net.minecraftforge.fart.api.Transformer; @@ -81,6 +82,7 @@ public MixinPatchTransformer(LVTOffsets lvtOffsets, PatchEnvironment environment .transform(new DynamicAnonymousShadowFieldTypePatch()) .transform(new DynamicModifyVarAtReturnPatch()) .transform(new DynamicInheritedInjectionPointPatch()) + .transform(new DynamicSyntheticInstanceofPatch()) .build(), Patch.interfaceBuilder() .transform(new FieldTypePatchTransformer())