mirror of
https://github.com/darksaid98/Flashback.git
synced 2026-12-01 14:38:50 +00:00
Use INVOKE_STRING to target inst
This commit is contained in:
1 parent
7c97b9d43c
commit
519cdf2dea
1 file changed
+4
-2
@@ -342,9 +342,11 @@ public abstract class MixinMinecraft implements MinecraftExt {
|
||||
this.applyKeyframes.set(true);
|
||||
}
|
||||
|
||||
@Inject(method = "runTick", at = @At(value = "INVOKE",
|
||||
@Inject(method = "runTick", at = @At(
|
||||
value = "INVOKE_STRING",
|
||||
target = "Lcom/mojang/blaze3d/platform/Window;setErrorSection(Ljava/lang/String;)V",
|
||||
ordinal = 1), cancellable = true)
|
||||
args = "ldc=Render"
|
||||
), cancellable = true)
|
||||
public void runTick_setErrorSection(boolean bl, CallbackInfo ci) {
|
||||
ReplayServer replayServer = Flashback.getReplayServer();
|
||||
if (replayServer == null) {
|
||||
|
||||
Reference in new issue
Block a user