
Optifine has a mixin compatibility issue with Charm
dandin87 opened this issue ยท 2 comments
All Of Fabric 3 2.6.10
Optifine G6 and G7_pre10 will boot fine, G7 and G8 throw this error.
My best guess would be that it might involve Charm's enchantment glint modifications to allow you to dye the enchantment glint.
[02Mar2021 11:49:27.979] [main/INFO] [STDERR/]: [java.lang.Throwable:printEnclosedStackTrace:710]: Caused by: org.spongepowered.asm.mixin.injection.throwables.InjectionError: Critical injection failure: Callback method hookAttemptDataFixInternal(Lcom/mojang/datafixers/DSL$TypeReference;Ljava/lang/String;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfoReturnable;)V in charm.mixins.json:UtilMixin failed injection check, (0/1) succeeded. Scanned 1 target(s). Using refmap charm-fabric-1.16.4-refmap.json
Quite ironic as the OptiFine patch on Util#getChoiceTypeInternal
is to reduce the error log to a debug, whilst Charm's is to remove the log completely for its entities.