Skip to content

Commit d3758eb

Browse files
committed
Fix mixin target
1 parent 649c25d commit d3758eb

File tree

1 file changed

+1
-1
lines changed
  • common/src/main/java/org/embeddedt/modernfix/common/mixin/feature/direct_stack_trace

1 file changed

+1
-1
lines changed

common/src/main/java/org/embeddedt/modernfix/common/mixin/feature/direct_stack_trace/CrashReportMixin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
public class CrashReportMixin {
1414
@Shadow @Final private Throwable exception;
1515

16-
@Inject(method = "addCategory(Ljava/lang/String;I)Lnet/minecraft/CrashReportCategory;", at = @At(value = "INVOKE", target = "Lorg/slf4j/Logger;error(Ljava/lang/String;[Ljava/lang/Object;)V", remap = false))
16+
@Inject(method = "addCategory(Ljava/lang/String;I)Lnet/minecraft/CrashReportCategory;", at = @At(value = "INVOKE", target = "Lorg/slf4j/Logger;error(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V", remap = false))
1717
private void dumpStacktrace(String s, int i, CallbackInfoReturnable<CrashReportCategory> cir) {
1818
new Exception("ModernFix crash stacktrace").printStackTrace();
1919
if(this.exception != null)

0 commit comments

Comments
 (0)