This commit is contained in:
kirillsaint 2023-06-29 15:08:02 +06:00
parent 071f0239c6
commit 881f793520
2 changed files with 7 additions and 1 deletions

View File

@ -9,6 +9,7 @@ import net.minecraft.util.ResourceLocation;
import net.silentclient.client.Client;
import net.silentclient.client.event.impl.ClientTickEvent;
import net.silentclient.client.gui.util.BackgroundPanorama;
import org.apache.logging.log4j.Logger;
import org.lwjgl.LWJGLException;
import org.lwjgl.opengl.Display;
import org.lwjgl.opengl.GL11;
@ -42,6 +43,11 @@ public abstract class MinecraftMixin {
Display.setTitle("Silent Client " + Client.getInstance().getVersion() + " (1.8.9)");
}
@Redirect(method = "<init>", at = @At(value = "INVOKE", target = "Lorg/apache/logging/log4j/Logger;info(Ljava/lang/String;)V", ordinal = 1))
public void cancelLoggingToken(Logger instance, String s) {
}
@Inject(method = "runTick", at = @At(value = "INVOKE", target = "Lnet/minecraft/profiler/Profiler;endSection()V", shift = At.Shift.BEFORE))
public void tickEvent(CallbackInfo callbackInfo) {
new ClientTickEvent().call();

View File

@ -1,4 +1,4 @@
{
"commit": "unknown",
"branch": "debug-c"
"branch": "debug"
}